Stuart’s MATLAB Videos

Watch and Learn

Reshape a matrix without using a for loop

RESHAPE is a very useful function, but it is something that a lot of MATLAB users do not discover until someone is looking at their code and says “Why are you using a for loop for that?” If you know how to use RESHAPE, there is not much to be learned from this video. If you do not know about RESHAPE, well consider me that person looking over your shoulder saying “Why are you…”
|

Comments

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