I have a peice of code that gives me an answer as a sequence of numbers, i would liek to be able to view this sequence as a matrix however.
I have an input N=25, length of sequence and then the sequence is output from x(1):x(25)
i have this piece of code which seems to work, but i need to find a different way of implementing it and need to coem up with a different code, M=5:
y(i,j)=x((i-1)*M+j)