From: Kevin on
I would like to know how to change a sequence of length N=25 that is given as an output as x(1):x(25) into a matrix y(i,j), i,j=M, M=5.
x(1):x(5) should go along the top row.
From: Matt J on
"Kevin " <kevin_stanza(a)yahoo.co.uk> wrote in message <hm3eua$pa7$1(a)fred.mathworks.com>...
> I would like to know how to change a sequence of length N=25 that is given as an output as x(1):x(25) into a matrix y(i,j), i,j=M, M=5.
> x(1):x(5) should go along the top row.

reshape(x,5,[]).'