How to evaluate Newton's Divided Difference Polynomial in MatLab with an unknown degree?

2.4k Views Asked by At

I already have the code that finds the coefficients for the polynomial, but how do you find a value for the polynomial if given an x coordinate in MatLab code?

1

There are 1 best solutions below

0
On

If you have the coefficients for the polynomial you created using Newton's Divided Difference Polynomial, just create a set with those coefficients then use the built in polynomial evaluation function to find the value at the point you want.