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

 채택된 답변

Rik
Rik 2020년 12월 10일
편집: Rik 2020년 12월 10일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2020년 12월 10일

댓글:

2022년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by