MATLAB: Changing a Matrix Format!

reshape matrix

Hi everyone, can somebody help me to reshape my matrix from this format Z=[ 0, 0, 0][ 0, 1/16, 0][ 0, 0, 0] to this format Z=[0,0,0;0,1/16,0;0,0,0]???

Best Answer

iwant = double(Z) ;