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.

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 1 Feb. 2014

4 Stimmen

sol=solve(your_equation)
double(sol)

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Feb. 2014

Kommentiert:

am 12 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by