I was recently answering a question that came in from a MATLAB user on this blog. In the end, the question was really one where he was doing a calculation and storing the result in scalar Y. When he was done with the loop, he only had the final value of Y but not all of them that he had calculated on the way. The solution to this was to store each value of Y into a vector. This video is meant for new users to show how to do that.
Other videos have been gathered here:
Other MATLAB Basics posts have been gathered here:
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.