How can I show my polynomial with decimals? guide matlab

2 views (last 30 days)
I have a program that finds polynomials (interpolation of newton) at the end gets coefficient that are multiplied by the variable "x" but the result in edittext prints it as fractions How could the polynomial show in a decimal way? that is "0.2x + 0.33x ^ 2" because my program shows me "x / 2 + (x ^ 2) / 3"

Answers (1)

John D'Errico
John D'Errico on 4 Nov 2017

Categories

Find more on Polynomials 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!