求拟合代码
t=;x=;
plot(t,x,'*')
b0=;
fun=inline('b(1)/(1+b(2)*exp(b(3)*t))','b','t');
=nlinfit(t,x,fun,b0);
b
。。
请问大神们,为什么老是出现错误呢,麻烦帮我检查fun=inline('b(1)/(1+b(2)*exp(b(3)*t))','b','t');
这句哪儿出错了,急求。。 t=;
x=;
plot(t,x,'*');
b0=;
fun=inline('b(1)./(1+b(2)*exp(b(3)*t))','b','t');
=nlinfit(t,x,fun,b0);
b改了一下,你试试看
fun=inline('b(1)./(1+b(2)*exp(b(3)*t))','b','t');换成点除
页:
[1]