早教吧 育儿知识 作业答案 考试题库 百科 知识分享

伪逆矩阵中含有符号对象sym怎么写?clear>>a=sym('[1,0,0,-x;0,1,0,-y;0,0,1,-z]');>>b=pinv(a)Errorusing==>sym.svdToomanyinputarguments.Errorin==>pinvat29[U,S,V]=svd(A,0);Errorin==>pinvat27X=pinv(A',varargin{:})

题目详情
伪逆矩阵中含有符号对象sym怎么写?
clear
>> a=sym('[1 ,0 ,0 ,-x; 0,1 ,0 ,-y;0 ,0 ,1 ,-z]');
>> b=pinv(a)
Error using ==> sym.svd
Too many input arguments.
Error in ==> pinv at 29
[U,S,V] = svd(A,0);
Error in ==> pinv at 27
X = pinv(A',varargin{:})';
我想求
[ 1,0,0,-x]
[ 0,1,0,-y]
[ 0,0,1,-z]
的逆矩阵.
▼优质解答
答案和解析
参考答案\x09减肥大业,总是在吃饱喝足之后才想起.