MATLAB: Opposite of :

opposite

I have a matrix like A=[1 2 3; 4 5 6 ; 7 8 9] A=A(:)
How can I convert 'A' back to original 'A' matrix?

Best Answer

reshape(A,3,3)
Related Question