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 CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by