Getting Error: Unexpected MATLAB expression.
조회 수: 2 (최근 30일)
이전 댓글 표시
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151657/image.png)
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2015년 6월 27일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!