
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

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