How to solve matrices with 6 unknowns?
3 次查看(过去 30 天)
显示 更早的评论
I have two matrices as shown below. I need to equate the individual elements (e.g. Ad(1,1)=Af(1,1),Ad(1,2)=Af(1,2),etc.) which forms different set of equations (9 equations to be exact), then afterwards I need to solve these system of equations simultaneously to get the values of K11,K12,K13,K21,K22 and K23. Could you suggest any method to do this in Matlab?
Ad =
-1 0 0
0 0 1
0 -6 -5
Af = [(-K11-1) (-K12+7) -K13;0 0 1;-K21 (-K22-2) (3-K23)]
0 个评论
采纳的回答
KSSV
2017-11-1
Ad = [ -1 0 0
0 0 1
0 -6 -5] ;
syms K11 K12 K13 K21 K22 K23
Af = [(-K11-1) (-K12+7) -K13;0 0 1;-K21 (-K22-2) (3-K23)] ;
eqn = Af==Ad
sol = solve(eqn)
8 个评论
KSSV
2017-11-1
Abar = (1.0e+03)*[0.0000 0.0010 0 -0.0000; 0.4933 -0.0328 -2.7489 0.1412; -0.0000 -0.0000 0.0000 0.0010; 0.1159 -0.0028 -0.6435 0.0081] ;
Bbar = (1.0e+03)*[-0.2854 -0.1664; 6.0167 3.1306; -0.0416 -0.0258; 1.0730 0.5628] ;
Ad =[0 1 0 0; 0 0 1 0; 0 0 0 1; -2.0160 -0.7 -4.41 -3.6];
Kbar = Bbar\(Abar-Ad) ;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!