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

 Akzeptierte Antwort

Rik
Rik am 10 Dez. 2020
Bearbeitet: Rik am 10 Dez. 2020

0 Stimmen

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 Kommentare

boshra malinine
boshra malinine am 11 Dez. 2020
thsnk you so much , this is incredibly helpful
Rik
Rik am 10 Mai 2022
Regarding your flag ("incomplete answer"):
@Blaine French, can you explain what is incomplete about this answer?
Torsten
Torsten am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Gefragt:

am 10 Dez. 2020

Kommentiert:

am 10 Mai 2022

Community Treasure Hunt

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

Start Hunting!

Translated by