Wednesday, May 19, 2010

Inline defined function in OCTAVE works faster! (Was slower in MATLAB)

Previous example in MATLAB was concluded the Inline defined function was working slower than the same function defined in a ".m" file .

But if you try the same example in GNU Octave 3.2.2 you'll surprisingly see that inline defined function in Octave works faster.

On the other hand, it was not the aim of the work but Octave works faster than MATLAB for this case.

Labels: , , ,

Thursday, January 21, 2010

Testing "inline" function speed in MATLAB

A function defined as a seperate m-file works faster than inline function of MATLAB.




Labels: ,