How can i solve matrix equations?

1 次查看(过去 30 天)
Triveni
Triveni 2016-8-3
回答: Torsten 2016-8-4
X = 1.0e+07 * [ 3.4829 0.5180 1.0634;
0.5180 0.4133 0.2245;
1.0634 0.2245 0.5671];
Y = [-518.8958 212.9430 219.8578;
212.9430 93.0098 144.7626;
219.8578 144.7626 212.9430];
Z = [ 0.2586 0.0393 0.0763;
0.0393 0.0327 0.0185;
0.0763 0.0185 0.0430];
Cy = 2.75; Vy = 0.0021; Vxy = -0.0017; Tx = 2.51; Txy = -0.0017; Vx =3.21;
%I have to solve six unknown quantities i.e "Cx, Cxy,Vx, Ty, Vy, Vxy" I have to solve this equation,
[Cx;Cy;Cxy;Vx;Vy;Vxy] = [X,Y;Y,Z]*[Tx;Ty;Txy;Vx;Vy;Vxy];
%[6*1] = [6*6]*[6*1] Matrix size
%I want to calculate unknown quantities. Is it possible to calculate using MATLAB?

回答(1 个)

Torsten
Torsten 2016-8-4
Supply
F=[X,Y;Y,Z]*[Tx;x(1);Txy;x(2);x(3);x(4)]-[x(5);Cy;x(6);x(2);x(3);x(4)]
for MATLAB's "lsqnonlin" if e.g. Cx, Cxy, Vx, Ty, Vy, Vxy are unknown.
Or reorder your equations such that it reads A*x=b with b known and x unknown and solve for x using x=A\b.
Best wishes
Torsten.

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by