How can I show my polynomial with decimals? guide matlab

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"

Categorie

Tag

Richiesto:

il 4 Nov 2017

Risposto:

il 4 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by