Answer format of "solve"

Hello, I use "Solve" to solve a set of equations, and results are shown in fractional format. Using format command did not even help me to get rid of the fractional format answers. I would thank you if you could please help me.

回答(1 个)

sol=solve(your_equation)
double(sol)

2 个评论

YES! It worked, thank you so much.
Great, Just what needed. Thanks!

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by