24小时热门版块排行榜    

CyRhmU.jpeg
查看: 3651  |  回复: 0

ygl820

至尊木虫 (知名作家)

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

y=@(x)exp(x)-x^5;
x=fzero(y,8)
fplot(y,[x-1,x+1]);


警告: 函数的数组输入失败。请使用按元素运算符来提高速度。
> 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)
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ygl820 的主题更新
信息提示
请填处理意见