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.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 1 日

4 投票

sol=solve(your_equation)
double(sol)

2 件のコメント

behnaz
behnaz 2014 年 2 月 1 日
YES! It worked, thank you so much.
Youssef Labib
Youssef Labib 2020 年 9 月 12 日
Great, Just what needed. Thanks!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

タグ

質問済み:

2014 年 2 月 1 日

コメント済み:

2020 年 9 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by