clc
clear
x=[187.14 238.38 283.12 315.37 337.65 356.21 387.68 414.46 435.57 456.82]';
y=[247.63 361.18 430.37 462.89 476.88 483.25 483.05 472.01 456.23 434.08]';
figure
scatter(x,y,'k*');
T=[ones(10,1),x,(x.^2)];
[b,bint,r,rint,stats]=regress(y,T)
hold on;
y=b(1)+b(2)+xb(3)*x.^2;
plot(x,y,'r','linewidth',2.5)
grid on
大概就是这个 样子的!