I have a problem in working with the the function "polyfit". It seems that Matlab doesn´t recognise that function anymore.
this is my script:
x = [150 200 400 600 800 1000 1200 1400 1600];y = [0 0.4 1.6 2.7 3.7 4.4 5.2 5.7 6];p=polyfit(x,y,8);
this is the error messsage I get from Matlab:
Attempt to execute SCRIPT polyfit as a function:C:\Users\pca02\Desktop\Documents\MATLAB\polyfit.mError in PVWPS (line 66)p=polyfit(x,y,8);
How Can I solve this problem?
Thank you very much!
Pietro
Best Answer