You could try this function to get numeric values for local minimums:
https://www.mathworks.com/help/matlab/ref/fminsearch.html?searchHighlight=fminsearch&s_tid=srchtitle
Or you could take the derivative, set it = 0, and solve for x.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!