Fractional expression to decimal expression in symbolic function

6 ビュー (過去 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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by