4 ms·
Matlab is much faster. For a sense of scale, a relatively simple image processing script ran 125 times faster in Matlab than Octave. This is, most likely, becau
by m3koval 13y ago
Matlab is much faster. For a sense of scale, a relatively simple image processing script ran 125 times faster in Matlab than Octave. This is, most likely, because Matlab has a better code optimizer.
I don't see a compelling reason to use Octave unless you're trying to avoid paying for a Matlab license. If you're going to switch tools, why not switch to NumPy/SciPy and get the advantage of using a full-featured programming language?
- jordigh 13y agoThe "code optimiser" you're talking about is "just" a JIT compiler. Loops in Octave are slow. They were slow in Matlab too, but then they got a JIT compiler. We're currently working on a getting a JIT compiler into Octave too. Here are two GSoC blogs about it: http://octave-jitc.blogspot.ca/ http://jit-octave.blogspot.ca/