vpa not reducing the precision
Mostrar comentarios más antiguos
Hello,
I am doing some symbolic calculations. Matlab is returning rediculously small numbers up to the order of -180 ! I tried the suggested usage of digits and vpa but none seem to do the job. here is an example of numbers up to -15 .
[ -15 -15 -15 ]
[1. 0.1224 10 -0.1224 10 0.1224 10 q2 + 1. q1]
This is a very simple homogeneous transformation of a frame in multi-body system. you can imagine multiplying these small numbers to get even smaller ones. This is keeping the symbolic variables q1, q2 ... in the experession and further complicating the calculations and slowing down the program.
I ran vpa on these results, it didn't work. I went down and applied vpa on every symbolic math in my sheet, still didn't work.
please adivse..
thanks.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

