Number output when using syms

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Assumptions 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by