How can I get the first matrix of this equation?
2 次查看(过去 30 天)
显示 更早的评论
I am trying to get F values. How can l do that?
2 个评论
Adam Danz
2021-11-9
It looks like it's straightforward multiplication between a 4x4 matrix and 4x1 vector, unless the curley brackets have some other meaning.
Sargondjani
2021-11-9
To multiply two matrices:
F=A*B
To define a matrix:
A = [200 0 -200 0; 0 600 0 -600]
et cetera. (use ; to start new row, use comma or space to separate columns)
回答(1 个)
Gargi Patil
2021-11-12
Hi,
As mentioned in the comments, 2 matrices can be multipled using the * operator. The following code describes the same:
A = [200 0 -200 0; 0 600 0 -600; -200 0 600 -400; 0 -600 -400 1000];
B = [0; 0; 250/11; 375/11];
F=A*B
F1x = F(1)
F2x = F(2)
%similarly for F3x and F4x
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Additional Math and Discrete 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!