|I have a matrix of m*n dimension and I want to reshape each column of this matrix to a new matrix of a*b dimension.I want to save such n distinct a*b matrices so that I can convolve each of this n matrix with some other functions.But I got errors in my code
for p=1:n mat{p} = reshape(matrix{p},a,b) end Error using reshape To RESHAPE the number of elements must not change.
- I am new to to MATLAB and please help.Thanks in advance.
Best Answer