开发者

MATLAB/octave count number of operations (flops)

开发者 https://www.devze.com 2022-12-31 13:50 出处:网络
Is it possible to report number of operations to evaluate for e开发者_如何学编程xample matrix/matrix (dense or sparse) in MATLAB or octave.Haven\'t tried it personally, but the Lightspeed Matlab Toolb

Is it possible to report number of operations to evaluate for e开发者_如何学编程xample matrix/matrix (dense or sparse) in MATLAB or octave.


Haven't tried it personally, but the Lightspeed Matlab Toolbox claims to support flops counting. Apparently the flops command was a valid option in MATLAB up through version 5.


Not exactly what you're looking for, but you can use profile to get the cpu time for an operation.

0

精彩评论

暂无评论...
验证码 换一张
取 消