匿名函数是较新版的东东, 对个人这种老用户(v5.6)没用过, 刚刚看下help资料, 还真是方便的新物件!
但试了下怎有警示! why?
b=1;c=1;d=1;fh=@(x,a) a^4*x^4+(a+c+a^3)*x^2+b*x+a+d+a^3; ezplot(fh,[0 5])
Warning: Function failed to evaluate on array inputs; vectorizing the function may
speed up its evaluation and avoid the need to loop over array elements.