How to evaluate symbolic results
조회 수: 4 (최근 30일)
이전 댓글 표시
I defined some symbolic values such as
syms q1 q2
Then I calculated a complex matrix and each element of the matrix looks like variations of the following expression;
43346554874*cos(q1)/346743235456
Which is not simplified to
0.1250*cos(q1)
How can I do this simplification for whole matrix ?
댓글 수: 0
채택된 답변
Walter Roberson
2013년 11월 18일
That is not a simplification; that is an approximation. If you want the approximation done, then
vpa(YourExpression)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
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!