gistlib
To set the given matrices as vectors in MATLAB, you can use the (:) operator which reshapes the matrix into a column vector.
(:)
main.mmw_vector = mw(:); hr_vector = hr(:); 38 chars3 lines
mw_vector = mw(:); hr_vector = hr(:);
This will give you two column vectors mw_vector and hr_vector.
mw_vector
hr_vector
gistlibby LogSnag