Re: Matlab, I was always under the impression that Matlab could actually do lots of computations faster than compiled C.
Certain matrix calculations yes, because it has optimized compiled libraries that take care of them. It has superior support or complex numbers as well.
In general, however, for very large codebases, it's slow as a basset hound on a hot summer day after eating a steak. It is a scripting language.
You need to be a pretty experienced Matlab or Octave coder to be able to take advantage of the vector/matrix nature of the languages properly, and that will help, but if you want to speed up the calculations you need to either recode in C or Fortran 9x or take the slowest parts of the code base and turn those into C. You can link compiled C code into Matlab or Octave, and that speeds things up a hell of a lot, but that requires you to not be a lazy bastard.
There is a Matlab compiler now... not sure how its performance compares to C.