Stuart’s MATLAB Videos

Watch and Learn

Basics: Code review- the thought process in rewriting code for clarity

This short video covers the thought process of rewriting some code for clarity. The six lines of code are lengthened into twice that. The code is much more readable and maintainable. The problem is not as important as the thought process, however, the problem is about reshaping a matrix.
|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.