Answer format of "solve"

4 vues (au cours des 30 derniers jours)
behnaz
behnaz le 1 Fév 2014
Commenté : Youssef Labib le 12 Sep 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.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 1 Fév 2014
sol=solve(your_equation)
double(sol)
  2 commentaires
behnaz
behnaz le 1 Fév 2014
YES! It worked, thank you so much.
Youssef Labib
Youssef Labib le 12 Sep 2020
Great, Just what needed. Thanks!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by