This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user.
This video covers how to concatenate vectors or matrices, even if they are different lengths. This will help solve this error:
??? Error using ==> horzcat
CAT arguments dimensions are not consistent.
Other videos have been gathered here:
Other MATLAB Basics posts have been gathered here: