我定义了一个函数,但是有点问题!!!求教呀!
function f = curvefun(~,~)f = x(1)+ x(2)* exp((-0.02) * x(3)* tdata); %其中,x(1)=a,x(2)=b,x(3)=k
然后matlab显示:??? Undefined function or method 'x' for input arguments of type 'double'.
Error in ==> curvefun at 2
f = x(1)+ x(2)* exp((-0.02) * x(3)* tdata); %其中,x(1)=a,x(2)=b,x(3)=k
求教下这是什么问题???谢谢!
顶了,虽然我不会。。。。。。 默默的飘过。。。。。。。。。
页:
[1]