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.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 1 de Feb. de 2014

4 votos

sol=solve(your_equation)
double(sol)

2 comentarios

behnaz
behnaz el 1 de Feb. de 2014
YES! It worked, thank you so much.
Youssef Labib
Youssef Labib el 12 de Sept. de 2020
Great, Just what needed. Thanks!

Iniciar sesión para comentar.

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Feb. de 2014

Comentada:

el 12 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by