MATLAB no longer displaying fractions in symbolic calculation.
28 ビュー (過去 30 日間)
古いコメントを表示
Michael Tamajong
2021 年 2 月 23 日
コメント済み: Emmanuel J Rodriguez
2021 年 8 月 6 日
My MATLAB no longer displays results in fraction form, even in symbolic calculations.
say I want to do the fraction addition of 1/3 and 1/2, I type
sym(1/3)+sym(1/2)
I get the result: 0.8333
I have tried to do many other symbolic calculations but all fractions are now converted to decimal in the format short.
code
syms t
f(t)=exp(t/100)*sin(t/4)
I=int(f,t)
result:
f(t) =
I(t) =
I need theresults to be in fractional form, not in the format short.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!