2023-01-05

MATLAB/simulink

MatlabでNelder-Mead法を使う

matlabでNelder-Mead法を使うにはfminsurchを使えばいい。fun = @(x)100*(x(2) - x(1)^2)^2 + (1 - x(1))^2;x0 = ;x = fminsearch(fun,x0);