Clear Filters
Clear Filters

Rational Fractions in Symbolic Toolbox

1 view (last 30 days)
David Koenig
David Koenig on 17 Oct 2011
When I finish the algebraic manipulations using the symbolic toolbox and start putting numbers into variables I always end up with clunky rational fractions such as
/ 890915281312783 x \
733 sin| ----------------- | i
\ 281474976710656 /
- ------------------------------
Is there a way to make this look like
9.1625e-006 sin(3.1652 x ) i ?

Answers (1)

David Koenig
David Koenig on 17 Oct 2011
Sorry. I found the answer to my question...vpa (should have known this).


Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!