%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

 Akzeptierte Antwort

James Tursa
James Tursa am 5 Mai 2015
Bearbeitet: James Tursa am 5 Mai 2015

0 Stimmen

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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by