problem in using symbols

1 回表示 (過去 30 日間)
omnia
omnia 2011 年 12 月 7 日
Hi everyone I have a problem in my program. I have a symbol called 'f' in an equation when I write (3*10^-12)/(1-f) it is written in the command window as '1/(1237940039285380274899124224/3713820117856141-1237940039285380274899124224/3713820117856141*f_ES)'which is the same value but in much complex form. How can I make the program write it in the simple form? I use this equation in the remaining of the program and it become much harder to follow and calculate.
thanks

回答 (1 件)

Paulo Silva
Paulo Silva 2011 年 12 月 7 日
doc vpa %just a wild guess of something that might be useful to you
  5 件のコメント
Walter Roberson
Walter Roberson 2011 年 12 月 10 日
omnia, use
vpa((3*10^-12)/(1-f))
omnia
omnia 2011 年 12 月 16 日
thanks Walter. It worked.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by