Fractional expression to decimal expression in symbolic function

8 vues (au cours des 30 derniers jours)
연승 김
연승 김 le 18 Oct 2021
Commenté : 연승 김 le 20 Oct 2021
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..

Réponse acceptée

Cris LaPierre
Cris LaPierre le 18 Oct 2021
Summary:
  1 commentaire
연승 김
연승 김 le 20 Oct 2021
Oh it is what i want!!!! Thank you very much^^ Thank you for your kind!!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by