Find the minimum value of f(x)=x sin(2x-1) around 0, the corresponding command is ( ) .
A、[x,fval]=fminbnd(@(x) x*sin(2*x-1),0,0.5);
B、[x,fval]=fminbnd(@(x) x*sin(2*x-1),0);
C、[x,fval]=fminsearch(@(x) x*sin(2*x-1),[0,0.5]);
D、[x,fval]=fminunc(@(x) x*sin(2*x-1),[0,0.5])
发布时间:2025-07-13 18:47:30