Rational Fractions in Symbolic Toolbox

8 visualizaciones (últimos 30 días)
David Koenig
David Koenig el 17 de Oct. de 2011
Comentada: arash el 22 de Ag. de 2024
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 /
- ------------------------------
80000000
Is there a way to make this look like
9.1625e-006 sin(3.1652 x ) i ?
Thanks.

Respuestas (1)

David Koenig
David Koenig el 17 de Oct. de 2011
Sorry. I found the answer to my question...vpa (should have known this).
  1 comentario
arash
arash el 22 de Ag. de 2024
hi,
i have the same problem
how did you solve it?
when i write symbolic, i get big fractions and when they go to vpasolver, the calculation takes long so i want the fraction to be a number with 3 decimal digits.

Iniciar sesión para comentar.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by