Multiply matrix with variables
2 views (last 30 days)
Show older comments
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
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!