求方程在[4,6]范围内的解,使用的命令有( )。【图片】
A.
>> fx=@(x) exp(x)-3*x*x-15; >> z=fzero(fx,5)
B.
>> z=fzero(@(x) exp(x)-3*x*x-15,5)
C.
建立函数文件fx.m。 function f=fx(x) f=exp(x)-3*x*x-15; 调用函数文件: >> z=fzero(@fx,5)
D.
建立函数文件fx.m。 function f=fx(x) f=exp(x)-3*x*x-15; 调用函数文件: >> f=@fx; >> z=fzero(f,5)