Getting Error: Unexpected MATLAB expression.
2 views (last 30 days)
Show older comments
Help Please
*My Matlab Code:
syms alpha beta gamma real
% write down the rotation matrices using the symbolic parameters alpha, beta, gamma
R_B1 = [1,0,0;0,cos(alpha),-sin(alpha);0,sin(alpha),cos(alpha)]...;
R_12 = [cos(beta),0,sin(beta);0,1,0;-sin(beta),0,cos(beta)]...;
R_23 = [cos(gamma),0,sin(gamma);0,1,0;-sin(gamma),0,cos(gamma)]...;
MATLAB Version: MATLAB R2013a
0 Comments
Answers (1)
Azzi Abdelmalek
on 27 Jun 2015
syms alpha beta gamma real
% write down the rotation matrices using the symbolic parameters alpha, beta, gamma
R_B1 = [1,0,0;0,cos(alpha),-sin(alpha);0,sin(alpha),cos(alpha)]
R_12 = [cos(beta),0,sin(beta);0,1,0;-sin(beta),0,cos(beta)]
R_23 = [cos(gamma),0,sin(gamma);0,1,0;-sin(gamma),0,cos(gamma)]
0 Comments
See Also
Categories
Find more on Symbolic Math Toolbox 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!