how to change displayed format of numbers?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dominika
am 7 Apr. 2014
Beantwortet: Dominika
am 7 Apr. 2014
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
0 Kommentare
Akzeptierte Antwort
Mischa Kim
am 7 Apr. 2014
Bearbeitet: Mischa Kim
am 7 Apr. 2014
Dominika, use
A = vpa(solve(...))
or
A = vpasolve(...)
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!