How to evaluate symbolic results
5 ビュー (過去 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!