MATLAB: Help clarifying why code isn’t working

matrices

this is my code, and i will attach in the comments what i am trying to portray. I'm having trouble understanding why it wont work. Thanks

Best Answer

fprintf('%15.4f %15.4f %15.4f %15.4f\n',M(1,:),M(2,:),M(3,:),M(4,:));