"simplify" doesn't work properly
古いコメントを表示
Dear Matlab users;
I have a problem when I use symbolic toolbox. When it gives the result in symbolic, even though I use simplify comment, it doesn't work properly as I want it to be.
I will give a similar example here, since the actual one is a bit long:
2*(sin(x)*1/2+cos(x)*1/2)
When I calculate the result myself by hand, I get;
sin(x)+cos(x) .
But MATLAB gives the result as I written above.
How can I fix this?
Thanks in advance.
1 件のコメント
Christopher Creutzig
2018 年 12 月 3 日
It would probably help to give an actual working example of your problem.
採用された回答
その他の回答 (1 件)
ercan duzgun
2018 年 8 月 15 日
0 投票
1 件のコメント
Star Strider
2018 年 8 月 15 日
The vpa function is certainly another option.
カテゴリ
ヘルプ センター および File Exchange で Assumptions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!