Number output when using syms

1 visualización (últimos 30 días)
Brenden Sluyter
Brenden Sluyter el 13 de Feb. de 2020
Comentada: Brenden Sluyter el 14 de Feb. de 2020
As the attached picture shows, when I try to use the syms funtion, the output comes out as a long equation. The equation gives the right answer when you solve it, but I was wondering if there was a way to output just the number I needed.
Thanks in advance.

Respuesta aceptada

Steven Lord
Steven Lord el 14 de Feb. de 2020
Call vpa or double on the symbolic expression.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by