フィルターのクリア

Cramers rule debugging help

2 ビュー (過去 30 日間)
Hao Ming Low
Hao Ming Low 2020 年 5 月 18 日
コメント済み: darova 2020 年 5 月 18 日
[a1 a2 a3; b1 b2 b3; c1 c2 c3]= input(' matrices')
A= [a1 a2 a3;b1 b2 b3;c1 c2 c3]
[x1; x2; x3]= input('right hand side matrices')
x= [x1 ;x2 ;x3]
Ax=[ x1 a2 a3;x2 b2 b3;x3 c2 c3]
Ay=[ a1 x1 a3;b1 x2 b3; c1 x3 c3]
Az=[ a1 a2 x1;b1 b2 x2; c1 c2 x3]
det(A)=det(A)
x = det(Ax)/detA
y = det(Ay)/detA
z = det(Az)/detA
this is the function that i wanna run as cramer rule in my matlab, but when i execute the code, it says that
multiple left hand sides must be seperated by commas
can anyone solve my problem? Providing any modification on my function would be appreciated.
  1 件のコメント
darova
darova 2020 年 5 月 18 日
Try this

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by