How to solve the cell array equation?

4 ビュー (過去 30 日間)
Annika
Annika 2014 年 8 月 12 日
コメント済み: Aykut Satici 2014 年 8 月 19 日
hello,
i am trying to solve for 'c2' and 'c3' for different equations where sig{1}, sig{2} and sig{3} are cell arrays of 190X240 each in dimension. as i have two equations and two unknowns i assume i should get an answer.
I tried this code, please help how to find c2 and c3
if true
syms c2 c3
[c2,c3]=vpasolve([-sig{2}*(sig{1}-c2*sig{2}-c3*sig{3})==0,-sig{3}*(sig{1}-c2*sig{2}-c3*sig{3})==0],[c2,c3]);
end
Thanks
Annika
  1 件のコメント
Aykut Satici
Aykut Satici 2014 年 8 月 19 日
What are the types of expressions within the elements of the cell array, especially sig{2} and sig{3}? Are they functions of c2 and c3, or are they constant real numbers? In the latter case, the two equations are the same. In the former case the zeros of sig{2} and sig{3} would matter.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by