polynomial evaluation for a simple curve.
Mostrar comentarios más antiguos
After I got the coefficent from the command:
p1=polyfit(x,y,4);
the p1 vector is:
p1 =
-35.4628 39.9257 -14.8278 1.6022 1.1031
the x vector is:
x=[0:0.001:0.4000]
Now, how do I write like this:

I don't need the polyval command.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!