A = [0.9501    0.7621    0.6154    0.4057    0.0579
     0.2311    0.4565    0.7919    0.9355    0.3529
     0.6068    0.0185    0.9218    0.9169    0.8132
     0.4860    0.8214    0.7382    0.4103    0.0099
     0.8913    0.4447    0.1763    0.8936    0.1389]

eig(A)
H=0.5*(A+A')
L=eig(H)

M(1)=det(H(1:1,1:1));
M(2)=det(H(1:2,1:2));
M(3)=det(H(1:3,1:3));
M(4)=det(H(1:4,1:4));
M(5)=det(H(1:5,1:5));
M

A = [0.2028    0.0153    0.4186    0.8381    0.5028
     0.1987    0.7468    0.8462    0.0196    0.7095
     0.6038    0.4451    0.5252    0.6813    0.4289
     0.2722    0.9318    0.2026    0.3795    0.3046
     0.1988    0.4660    0.6721    0.8318    0.1897]

eig(A)
H0=0.5*(A+A')
L=eig(H0)

M(1)=det(H0(1:1,1:1));
M(2)=det(H0(1:2,1:2));
M(3)=det(H0(1:3,1:3));
M(4)=det(H0(1:4,1:4));
M(5)=det(H0(1:5,1:5));
M

H=H0+0.5*eye(5)
L=eig(H)

M(1)=det(H(1:1,1:1));
M(2)=det(H(1:2,1:2));
M(3)=det(H(1:3,1:3));
M(4)=det(H(1:4,1:4));
M(5)=det(H(1:5,1:5));
M

H=H0-3*eye(5)
L=eig(H)

M(1)=det(H(1:1,1:1));
M(2)=det(H(1:2,1:2));
M(3)=det(H(1:3,1:3));
M(4)=det(H(1:4,1:4));
M(5)=det(H(1:5,1:5));
M
