Docsity

Matrix Inversion: Checking Symmetry and Singularity, Exercises of Signals and Systems Theory

Partial preview of the text

Download Matrix Inversion: Checking Symmetry and Singularity and more Exercises Signals and Systems Theory in PDF only on Docsity!

clear clc b=0; %%%%%%uncomment your choice from below%%%%% % a=[3 7 6;7 8 9;6 9 0]; %%% Non-singular Symmetric Matrix % a=[1 2;3 4]; %%% non symmetric only % a=[1 2;1 2]; %%% Non singular only if det(a)~= if a==a' b=inv(a); else disp('Your matrix is not symmetric ') end else disp('Your Matrix is Singular Matrix ') end b

docsity.com