MATLAB: Convrt matrix into 8*8

convert matrix

sir i want to conver 4*4 matrix into 8*8 matrix by adding zeros ..what is matlab code for that

Best Answer

Your description is not clear. One example however:
A=zeros(8);
A(1:4,1:4)=B; % where B is your 4*4 matrix