%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Module IV: Inverses %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % NOTE: to see results in the Command Window, % simply delete the ";" at the end of a given command. B1=magic(5); rB1=rank(B1); dB1=det(B1); C1=inv(B1); B2=magic(8); rB2=rank(B2) dB2=det(B2); C1=inv(B2); % this will result in an error message since B2 is not full rank.