倥絔 发表于 2020-6-8 15:07:55

matlab警告: 函数的数组输入失败。请使用按元素运算符来提高速度。

=@(x)exp(x)-x^5;
x=fzero(y,8)
fplot(y,);


警告: 函数的数组输入失败。请使用按元素运算符来提高速度。
> In matlab.graphics.function.FunctionLine>getFunction
In matlab.graphics.function.FunctionLine/updateFunction
In matlab.graphics.function.FunctionLine/set.Function_I
In matlab.graphics.function.FunctionLine/set.Function
In matlab.graphics.function.FunctionLine
In fplot>singleFplot (line 223)
In fplot>@(f)singleFplot(cax,{f},limits,extraOpts,args) (line 182)
In fplot>vectorizeFplot (line 182)
In fplot (line 153)
In U2019122501 (line 3)
页: [1]
查看完整版本: matlab警告: 函数的数组输入失败。请使用按元素运算符来提高速度。