how to change displayed format of numbers?

Hi,
My Code:
m1=5
m2=10
deltaTL=12
d=0.06
% Determine cut-off frequency fb
syms fb
A=solve(20*log10(m1+m2)+20*log10(fb)-47.3+deltaTL== 20*log10(m1*fb)-48 + 20*log10(m2*fb)-48+20*log10(fb*d)-29,fb)
I end up with the A value displayed in Command Window
A = ((625000000*10^(18353874309987341/28147497671065600))/4563)^(1/2)/2
How can I make Matlab calculate it as single value?
Thanks, Dominika

 採用された回答

Mischa Kim
Mischa Kim 2014 年 4 月 7 日
編集済み: Mischa Kim 2014 年 4 月 7 日

0 投票

Dominika, use
A = vpa(solve(...))
or
A = vpasolve(...)

その他の回答 (1 件)

Dominika
Dominika 2014 年 4 月 7 日

0 投票

Thanks Mischa!

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2014 年 4 月 7 日

回答済み:

2014 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by