Posts in Programming
Nov 7, 2020
- 07 November 2020
- Category: Programming
Bear with me as I work out how to express this idea clearly.
July 29, 2020
- 29 July 2020
- Category: Programming
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.
July 28, 2020
- 28 July 2020
- Category: Programming
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: