%1.152T1 - 1.152T2 = -50974.255 sinx %1.536T1 + 1.536T2 = 50974.255 cosx
a = [1.152 -1.152 1.536 1.536 ]; x = 0:5:60 b = [-50974.255*sin(x*(pi/180)) 50974.255*sin(x*(pi/180))]*
T = inv(a)*b
my expression is incorrect or incomplete

 採用された回答

James Tursa
James Tursa 2015 年 5 月 5 日
編集済み: James Tursa 2015 年 5 月 5 日

0 投票

Your code turned into valid MATLAB syntax:
%1.152T1 - 1.152T2 = -50974.255 sinx
%1.536T1 + 1.536T2 = 50974.255 cosx
a = [1.152 -1.152;
1.536 1.536 ];
x = 0:5:60;
b = [-50974.255*sin(x*(pi/180));
50974.255*cos(x*(pi/180))];
T = a\b;
I replaced inv with \, and replaced the last sin with cos.

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by