h1 = fplot(@humps, [-2 3]); grid, h1.LineWidth = 2; x = fminbnd(@humps, 0.3, 1) x = fzero(@humps, -0.2) quad, integral