change appearance of formula

2 ビュー (過去 30 日間)
Majid kh
Majid kh 2019 年 2 月 15 日
回答済み: madhan ravi 2019 年 2 月 15 日
Hi, I write a program like below:
syms S;
A=-0.1506+0.0021j;
B=0.0794+0.0020j;
C=-0.0236-0.0114j;
Total=-(A*B)/(S-C)
after execution, result in workspace is:
Total =
(6895531285333183/576460752303423488 + 4960698416301973i/36893488147419103232)/(S + 59/2500 + 57i/5000)
As you know we have expect result become like below:
(0.0120+1.3446e-04i)/( S +0.0236+0.0114i)
How can I change answer like last expression?

採用された回答

madhan ravi
madhan ravi 2019 年 2 月 15 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAssumptions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by