Posts tagged MATLAB
August 10, 2020
- 10 August 2020
- Category: Multiple
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…
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: