Wednesday, June 11, 2008

convert a vector into a matrix in matlab

i was searching for the way to convert a vector into a matrix with matlab and i found (good) ways to do it.
the first one is using reshape (link with examples), the second is using vec2mat (link with examples).

No comments: