0

昨日からの私の質問へのフォローアップとして、私は次のことをしようとしました:

私がしたことのためb0, bq+1 and Bに:

 bq1 = [];

for (i=1:length(Mte(1,:,3)))

t = sym(['bq' int2str(i)]);

bq1 = [bq1; t];

end

次に実行しました:

>> solve(H_tot_te*b == Mte(:,:,Q)*bq1 + lvec + Mprime*B1)
Error using char
Conversion to char from logical is not possible.

Error in solve>getEqns (line 245)
  vc = char(v);

Error in solve (line 141)
[eqns,vars,options] = getEqns(varargin{:});

だから私は試しました:

>> solve(double(H_tot_te*b == Mte(:,:,Q)*bq1 + lvec + Mprime*B1))
Error using strcmp
The number of rows of the string matrix must
match the number of elements in the cell.

Error in solve>getEqns (line 246)
  if any(strcmp(vc, {'IgnoreAnalyticConstraints', 'IgnoreSpecialCases', ...

Error in solve (line 141)
[eqns,vars,options] = getEqns(varargin{:});

このエラーの意味と修正方法を教えてください。

4

0 に答える 0