查看单个帖子
旧 2008-10-19, 19:09   #1
basicx
初级会员
 
注册日期: 2008-10-19
年龄: 44
帖子: 1
声望力: 0
basicx 正向着好的方向发展
微笑 有一个算法不知道怎么写,报错,请大虾帮看看,谢谢!

>> f=@(x)('(60000+4x)./(5200+x)');
>> ezplot(f);
??? In an assignment A(I) = B, the number of elements in B and
I must be the same.

Error in ==> specgraph\private\ezplotfeval>applyfun at 81
z(i) = feval(f,x(i));

Error in ==> specgraph\private\ezplotfeval at 68
z = applyfun(x);

Error in ==> ezplot>ezplot1 at 433
[y,f,loopflag] = ezplotfeval(f,x);

Error in ==> ezplot at 140
[hp,cax] = ezplot1(cax,f{1},vars,labels,args{:});
basicx 当前离线   回复时引用此帖