How to evaluate symbolic results

5 visualizaciones (últimos 30 días)
zoom
zoom el 18 de Nov. de 2013
Respondida: Walter Roberson el 18 de Nov. de 2013
I defined some symbolic values such as
syms q1 q2
Then I calculated a complex matrix and each element of the matrix looks like variations of the following expression;
43346554874*cos(q1)/346743235456
Which is not simplified to
0.1250*cos(q1)
How can I do this simplification for whole matrix ?

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Nov. de 2013
That is not a simplification; that is an approximation. If you want the approximation done, then
vpa(YourExpression)

Más respuestas (0)

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