After mastering the bare essentials you should move on to a deeper understanding
of the fundamentals. Doing so involves being able to
- Use fprintf for formatted output.
- Use a one-line if...end construct.
- Use a switch construct.
- Preallocate memory for matrices, and know why and when this is advantageous.
- Replace basic loops with vectorized statements.
- Use global variables
- Use colon notation to perform vectorized copy operations.