Creating 4x4 Matrix Block in Simulink

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 24K views
vatansever44
Messages
2
Reaction score
0
Hello everyone,

I need to create 4x4 matrix in simulink. Not like writing in "Constant" block,
i mean 4x4 form of the "Create 3x3 Matrix".

I look everywhere but i couldn't see that block, so i thought; "am i searching wrong thing?", only you can tell me that:smile:

For example; what for i need that block:

M=[ M1 M2; M3 M4]

M1=[ sin(phi)*cos(phi) sin(phi.dot); cos(phi.dot) sin(tita.dot)^2]
(phi and tita will come with feedback, viz they are not constant)
M2, M3, M4 are like M1 and this will be created in simulink.

I need to use M to multiply it with a constant. If i would have "create 4x4 matrix block" i could make them (Ms)link to 4x4 matrix and i think problem will be solved.

If you have got that library, could you share?


By the way, there must be 16 input and 1 output on that.

for example there is 9 input(m11, m12, m13, m21, m22, m23, m31, m32, m33) on "Create 3x3 matrix" block.
Here it:
http://www.mathworks.com/help/toolbox/aeroblks/create3x3matrix.html"


Thank you for interest and help!

Best regards.
 
Last edited by a moderator:
Physics news on Phys.org
By the way, i have learned the solution.

when we choose(right clicked) the "create 3x3 matrix" there is "look under mask" in that shell.

you can change it to what dimension you wanted.
 
i want the 3x3 to change to 2x6 but i cannot do it because the "look under mask" is locked so i cannot modify it and i don't know how to unlock it