Is it possible to report number of operations to evaluate for example matrix/matrix (dense or sparse) in MATLAB or octave.
+1
A:
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.
Doresoom
2010-05-19 19:00:19
octave actually has it, but always returns 0 (empty Matlab compatibility)
aaa
2010-05-19 19:10:26
A:
Not exactly what you're looking for, but you can use profile to get the cpu time for an operation.
Marc
2010-05-20 13:16:25