How to avoid long decimals and unnecessary fractions on syms calculation
7 views (last 30 days)
Show older comments
Hello everybody,
I'm working on a robotic project in Master Science. I have a problem on calculating parametric symbolic in matlab. How can i avoid of this problem described in below?

Thanks in advance. Looking forward for your helps.
Best regards, Cem ÇAKMAK
0 Comments
Accepted Answer
John D'Errico
on 28 Oct 2018
You can't avoid them, as long as you do symbolic computations. Symbolic computations are represented using integers and ratios of integers. But you can convert those ratios of huge integers back into a decimal form using vpa at the end.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!