Number output when using syms

2 Ansichten (letzte 30 Tage)
Brenden Sluyter
Brenden Sluyter am 13 Feb. 2020
Kommentiert: Brenden Sluyter am 14 Feb. 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by