Applied Optimization - Matlab 'fminsearch' with Two Variables

Here's how to use the fminsearch function in Matlab with functions of two variables. I show you how to make a contour plot of a sample function and how to find the minimum point using fminsearch.