Clear Filters
Clear Filters

Multiply matrix with variables

2 views (last 30 days)
Tea Arrigoni
Tea Arrigoni on 20 Dec 2017
Answered: Torsten on 20 Dec 2017
Hi
I want to present how in the end the result matrix looks like by multiplying three matrix. Is there a possibility for MAtlab to show me in the end how the final matrix will look like with this variables?
%RA*RR*RF
RA=[COSFA 0 SINFA; 0 1 0;-1*SINFA 0 COSFA]
RR=[COSFR -1*SINFR 0; SINFR CONFR 0;0 0 1]
RF=[1 0 0; 0 CONF -1SINF; 0 SINF COSF]
RA*RR*RF
  1 Comment
Adam
Adam on 20 Dec 2017
Just look at the result! I don't really understand what you are asking.

Sign in to comment.

Accepted Answer

Torsten
Torsten on 20 Dec 2017
syms COSFA SINFA COSFR SINFR COSF SINF
RA=[COSFA 0 SINFA; 0 1 0; -SINFA 0 COSFA];
RR=[COSFR -SINFR 0; SINFR CONFR 0;0 0 1];
RF=[1 0 0; 0 COSF -SINF; 0 SINF COSF];
RESULT=RA*RR*RF
Best wishes
Torsten.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!