hello guys
i want to solve this matrix
___________________ _________
I sin30 , 0, 0 ,0 , 0 I I -0.937 I
I cos30 , -1 , 0 , 0 , 0 I I 0 I
I 0 , 0 , -sin 60 , 0 , 0 I I 3 I
I 0 , 0 , 0 , -sin30 , 0 I I -2.0625 I
I 0 , 0 , 0 , cos30 , -1 I I 0 I
___________________ _________
can someone please write the code sheet to solve this , i its it a plus matrix
NOTE : The I around reprsents the frame for when you write it in paper
thanks

 Accepted Answer

Rik
Rik on 10 Dec 2020
Edited: Rik on 10 Dec 2020
I believe I can mimic the shortest answer I have seen on this forum:
\
To give this answer a bit more substance: you need to use the m function.
A=[sin(30),0,0,0,0 ; 2,-1,0,0,0 ; 0,0,3,0,0 ; 0,0,0,4,0 ; 0,0,0,5,-1];
b=[-1;0;0;-2;0];
A\b
ans = 5×1
1.0121 2.0242 0 -0.5000 -2.5000
Now you just need to put your arrays in the Matlab syntax I showed, run this code yourself and you will have a solution to this system.

3 Comments

thsnk you so much , this is incredibly helpful
Rik
Rik on 10 May 2022
Regarding your flag ("incomplete answer"):
@Blaine French, can you explain what is incomplete about this answer?
Remember to work with "sind" and "cosd" instead of "sin" and "cos" if the angle is in degrees and not in radians.

Sign in to comment.

More Answers (0)

Asked:

on 10 Dec 2020

Commented:

on 10 May 2022

Community Treasure Hunt

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

Start Hunting!