- #1
ineedhelpnow
- 651
- 0
View attachment 5037
that's my code. did i do it right?
Code:
y = [0.053 1.477 1.970 3.279 4.153 4.934 5.178 5.828 6.082 6.484]; % data
coef = polyfit(x,y,3)
X=0:.1:9;
Y=polyval(coef,X);
plot(x,y,'o',X,Y)
that's my code. did i do it right?