Posts in Programming

Nov 7, 2020

Bear with me as I work out how to express this idea clearly.

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 ...