Find minimum and maximum values of a function matlab. I want to use MATLAB special features.

Lawn Fungus