MATLAB Answers

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.

  0 Comments

Sign in to comment.

Accepted Answer

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

  1 Comment

Brenden Sluyter
Brenden Sluyter on 14 Feb 2020
The vpa worked.
Thank you!

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

Products