Stuart’s MATLAB Videos

Watch and Learn

Plotting a matrix in MATLAB

Many times we use difficult syntax in MATLAB because we do not know there is a better way and do not know to look for a better way. A recently saw some MATLAB code that could have been a lot cleaner, so I made this quick video showing how to plot a matrix versus a vector instead of breaking the matrix into three different lines and then plotting.
|
  • print

Comments

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