How to Specify Symbolic Variable Using Symbolic Toolbox
조회 수: 5 (최근 30일)
이전 댓글 표시
I have just downloaded the Symbolic Toolbox.
I am trying to specify the variable
theta_1
as a symbolic variable.
Omega(3,3) = (zeros) % Initialization
sym(theta_1) % Symbology Variable
% Omega Population
Omega(1,1) = 1
Omega(2,2) = cos(theta_1)
Omega(2,3) = sin(theta_1)
Omega(3,2) = -sin(theta_1)
Omega(3,3) = cos(theta_1)
In the command window I get a return that
"Undefined function or variable 'theta_1'.
How do I define theta_1 as a symbolical variable.
댓글 수: 0
채택된 답변
Andriy Kavetsky
2016년 10월 16일
You should specify the variable theta_1 using next command
>> syms theta_1
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!