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

 Réponse acceptée

Rik
Rik le 10 Déc 2020
Modifié(e) : Rik le 10 Déc 2020

0 votes

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 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by