This post compares Octave, not MATLAB. Similar languages, but completely different implementations. I'd bet that if it were tested in MATLAB, it'd be much faster.
You are correct, the MATLAB code was tested in Octave. I would not have worded the title HN is such a way. The goal is to learn the algorithms involved, not trying to come up with the fastest version possible. The interesting part is actually the performance of the JVM, not the comparison between languages.
So I don't think those are really representative of MATLAB performance.