Answer format of "solve"

4 visualizzazioni (ultimi 30 giorni)
behnaz
behnaz il 1 Feb 2014
Commentato: Youssef Labib il 12 Set 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.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 1 Feb 2014
sol=solve(your_equation)
double(sol)
  2 Commenti
behnaz
behnaz il 1 Feb 2014
YES! It worked, thank you so much.
Youssef Labib
Youssef Labib il 12 Set 2020
Great, Just what needed. Thanks!

Accedi per commentare.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by