matlab里求程序运行时间的函数
来源:互联网 发布:移动联通网络制式 编辑:程序博客网 时间:2024/05/29 13:25
1. profile
例子:
profile on
plot(magic(35))
profile viewer
profsave(profile('info'),'profile_results')
profile on -history
plot(magic(4));
p = profile('info');
for n = 1:size(p.FunctionHistory,2)
if p.FunctionHistory(1,n)==0
str = 'entering function: ';
else
str = ' exiting function: ';
end
disp([str p.FunctionTable(p.FunctionHistory(2,n)).FunctionName]);
end
2. tic,toc
tic
operation
toc
3. cputime
t=cputime;
your_operation
cputime-t
4. clock,etime
t0 = clock;
operation
etime(clock,t0)
- matlab里求程序运行时间的函数
- matlab求程序运行时间
- 分享如何求matlab程序的运行时间
- MATLAB中测试程序运行时间的函数
- MATLAB中测试程序运行时间的函数
- matlab 计算程序运行时间 的几个函数
- MATLAB中测试程序运行时间的函数
- MATLAB中测试程序运行时间的函数
- MATLAB中计算程序运行时间的几个函数
- MATLAB中测试程序运行时间的函数
- Matlab 计算程序运行时间函数
- 优化matlab程序的运行时间
- MATLAB中程序运行时间的计算方法
- matlab 计算程序运行的时间
- 统计matlab程序的运行时间
- MATLAB中运行时间的函数
- 求程序运行所用的时间
- 【Python】求程序的运行时间
- 网页游戏迅速崛起 初创企业争抢百亿网游市场
- Windows Vista应用程序的开发中,对应UAC(User Account Control, 用户帐户控制)的开发需求 (三)
- 《Div+CSS布局大全》发布加下载
- C#设计模式(9)-Prototype Pattern
- C#设计模式(10)-Adapter Pattern
- matlab里求程序运行时间的函数
- 2008年最值得期待的八大垂直搜索引擎
- C#设计模式(11)-Composite Pattern
- C#设计模式(12)-Decorator Pattern
- C#设计模式(13)-Proxy Pattern
- MySQL继续开源
- 设计模式(14)-Flyweight Pattern
- LINQ to SQL的不足
- 设计模式(15)-Facade Pattern