注册 登录
编程论坛 Matlab

新手关于非线性参数估计的问题

dzytaste 发布于 2008-08-11 16:23, 1369 次点击
我刚接触matlab,想用nlinfit函数拟合模型中的几个参数 老是报错:
>>myfunc=inline('a*exp(b*(1/(25.16-c)-1/(x-c)))','x','a', 'b' ,'c');
>> betafit=nlinfit(x,y,myfunc,[11 35 -10])
??? Error using ==> nlinfit
The inline model function generated the following error:
Error using ==> inline.subsref
Not enough inputs to inline function.
x 和y实验观测值 a b c 为想要得到的参数 x为自变量 y为因变量 均为1000*1的向量


是自变量的个数不够吗 还是要估计的参数过多了
   谢谢各位前辈了
0 回复
1