Answer format of "solve"

4 ビュー (過去 30 日間)
behnaz
behnaz 2014 年 2 月 1 日
コメント済み: Youssef Labib 2020 年 9 月 12 日
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 日
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!

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

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by