程序是这样的:
x=1:11;
y=[1800 2000 2300 3400 5000 7100 9000 9800 10600 11000 11200];
plot(x,y)
beta0=[1000,10,2]
[beta,r J] = nlinfit(x,y,'pier',beta0);
[Y,delta]=nlpredci('pier',x,beta,r,J);
plot(x,y,x,Y)
x=12:15;
[Y,delta]=nlpredci('pier',x,beta,r,J);
请大师指点,beta0是怎么确定的?