正在加载图片...
MATLAB用pinv函数来计算广义逆矩阵。 例:计算广义逆矩阵。 a=1814;13;96 x=pinv(a) c-a %od=a *x*a=a e-xc %e=xa'*x=x 14 -0.0661-0.04020.1743 0.10450.0406-0.0974 b 1.00000.0000 -0.00001.0000 0.9334024720.0317 0.24720.08170.1177 0.03170.11770.9849 8.000014.0000 1.00003.0000 9.000060000 0.0661-0.04020.1743 0.10450.0406-0.0974 PINV Pseudoinverse X- PINV(A) produces a matrix X of the same dimensions as a' so that a"X*AMATLAB 用 pinv 函数来计算广义逆矩阵。 例:计算广义逆矩阵。 a=[8 14; 1 3; 9 6] x=pinv(a) b=x*a c=a*x d=c*a %d=a*x*a=a e=x*c %e=x*a*x=x a = 8 14 1 3 9 6 x = -0.0661 -0.0402 0.1743 0.1045 0.0406 -0.0974 b = 1.0000 -0.0000 -0.0000 1.0000 c = 0.9334 0.2472 0.0317 0.2472 0.0817 -0.1177 0.0317 -0.1177 0.9849 d = 8.0000 14.0000 1.0000 3.0000 9.0000 6.0000 e = -0.0661 -0.0402 0.1743 0.1045 0.0406 -0.0974 PINV Pseudoinverse. X = PINV(A) produces a matrix X of the same dimensions as A' so that A*X*A
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有