Answer format of "solve"

4 visualizaciones (últimos 30 días)
behnaz
behnaz el 1 de Feb. de 2014
Comentada: Youssef Labib el 12 de Sept. de 2020
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
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 Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by