MATLAB: Find the minimum of a function

minimum and maximum

Hello, I'm trying to find the minimum and the maximum of a function using the the fmin and fmax in in Matlab R21012a, but the answer that i receive is fmin and fmax are not found. any explication or solution for this problem???
Afana

Best Answer

Maybe you are looking for fminsearch
help fminsearch