Hey I wrote:
X=linspace (0,1,8) Y=A (13:20,2)
(I had "A" form my last program)
P=polyfit (X,Y,7)
And it says error using polyfit X and Y vectors must be the same size! But they are same sized!!!I don't know what's wrong with it!
errorlinspacepolyfit
X=linspace (0,1,8) Y=A (13:20,2)
P=polyfit (X,Y,7)
Best Answer