Clear Filters
Clear Filters

How to convert a equation to double

3 views (last 30 days)
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 Comment
Fernando Pérez Lara
Fernando Pérez Lara on 4 Nov 2018
I have to say that I am doing this double(poly2sym(funcion)) but it is not working.

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!