How to generate a matrix in simulink
19 views (last 30 days)
Show older comments
Good morning.
I need to generate some matrixes in Simulink. I basically have to perform a huygens-steiner equation made out of matrices.
Now i konw i can generate matices using the constant block, but how do i generate a matrix where there are variable parameters?
The equation i want to write is "M_fuselage = M0 + cross(Lever_fuselage, F_fuselage)" where M0 and F_fuselage are matrices which include variable parameters.
0 Comments
Answers (1)
Rohit Pappu
on 28 Dec 2020
MATLAB function block can be used to generate a matrix from existing parameters. Additional documentaion can be found here
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!