Matrix actions in MATLAB and things