This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %correspond to the given new x values evaluated at the computed %polynomial. order = length(vecx) - 1; %finds the order of the polynomial coeff = polyfit(vecx,vecy,order); %determines the coefficients of the best fit line newy = polyval(coeff,newx); %determines the new y values of the best fit line end...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.
- Spring '08