Number output when using syms

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!