Posts tagged MATLAB

August 10, 2020

I can’t believe that I have been using Matlab for almost 8 years now and have only just discovered the axis square command. This would have been so nice to know years ago…

Read more ...


July 29, 2020

I’ve always been thrown off by the fact that the Matlab programming language doesn’t support pointers. This has thrown me off in the past when trying to optimize Matlab code–it’s a whole different paradigm from C/C++ code where passing by reference or by pointer can help boost speed and memory performance significantly.

Read more ...


July 28, 2020

It turns out that Matlab has no built-in capability for outputting colored text (although there seems to be a file exchange library for that). However if you want to keep things really simple (and if you like the color red), you can print red text by using the fprintf command:

Read more ...