Rational Fractions in Symbolic Toolbox

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.

답변 (1개)

David Koenig
David Koenig 2011년 10월 17일

0 개 추천

Sorry. I found the answer to my question...vpa (should have known this).

댓글 수: 1

arash
arash 2024년 8월 22일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2011년 10월 17일

댓글:

2024년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by