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.

Answers (1)

sol=solve(your_equation)
double(sol)

2 Comments

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

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 1 Feb 2014

Commented:

on 12 Sep 2020

Community Treasure Hunt

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

Start Hunting!