Matlab tutorial for programmers
- by Jonas
I'm getting some new students soon, who will be writing Matlab code. They're new to Matlab, but they have experience coding in Java and C++.
I'm going to have them go through the 'Getting Started' section of the Matlab help. In addition, I want to give a small tutorial with the goal to prevent them from making some of the most common mistakes people make when switching to Matlab ("Matlab starts counting at 1"), and show them some features that they may not be aware of when coming from other languages ("you can subtract a scalar directly from an array, and for vectors, there's bsxfun").
What are the most important things I should tell them?