Azzera filtri
Azzera filtri

How to convert a equation to double

3 visualizzazioni (ultimi 30 giorni)
Hello, good morning,
I am trying to convert this equation:
(166694427977015*x)/140737488355328 - 5524692416291113/36028797018963968
To one with double coefficient:
1.1844x - 0.1533
Thank you!
  1 Commento
Fernando Pérez Lara
Fernando Pérez Lara il 4 Nov 2018
I have to say that I am doing this double(poly2sym(funcion)) but it is not working.

Accedi per commentare.

Risposta accettata

madhan ravi
madhan ravi il 4 Nov 2018
Modificato: madhan ravi il 4 Nov 2018
vpa((166694427977015*x)/140737488355328 - 5524692416291113/36028797018963968,3)
  2 Commenti
Fernando Pérez Lara
Fernando Pérez Lara il 4 Nov 2018
Jesus Christ. WORKING! THANKS!
madhan ravi
madhan ravi il 4 Nov 2018
Modificato: madhan ravi il 4 Nov 2018
Anytime :) , accept the answer If it worked so that people know the question is solved

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by