Matlab figures in Latex done properly

August 22, 2014

I’ve played around a bit with Tikz, and I consider it to be hands down the most latex friendly tool for inputting images in Latex documents. I have also been having issues with putting figures from Matlab into my Latex documents. Up until now, I was saving them as eps, then using \includefigure to add them […]

Speed optimisation in matlab with functions and large arrays

July 25, 2014

There are some speed optimisations which are obvious in matlab: always pre-allocate your array use implicit vector notation if possible don’t set loop indexes or tests which require the creation of large arrays every loop iteration But one of the ones that was less obvious, at least to me, was the concept in Matlab of […]