Fractional expression to decimal expression in symbolic function

조회 수: 19 (최근 30일)
연승 김
연승 김 2021년 10월 18일
댓글: 연승 김 2021년 10월 20일
My question is very simple but I don't know the way...
I'm beginner so please help me.
I use "syms" and make a function.
and then, after some process, the funcction's expression is like below.
(7248263982714163 * x)/2251799813685248 - 3086369634568075/2199023255552
It is a linear function (ax + b) -> 'a' is slope and 'b' is y-intercept .
And, I want to get the function automatically like below.
3.2189*x - 1403.5
(because it is better to understand)
Please help me..

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 10월 18일
Summary:
  댓글 수: 1
연승 김
연승 김 2021년 10월 20일
Oh it is what i want!!!! Thank you very much^^ Thank you for your kind!!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numbers and Precision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by