hw03-contours

# hw03-contours - Homework 3 Contours Refer to...

This preview shows pages 1–2. Sign up to view the full content.

Homework 3: Contours Refer to people.emich.edu/aross15/math560/nlp-matlab for a copy of something like the stuff we did in class. I added some stuff to it, so read it even if you feel like you have a handle on what we did in class. #1: I mentioned that the contour plot we did (for Ordinary Least Squares) shows that if you zoom in close enough, every objective function looks like ellipsoids. Was I being sneaky, by using an objective function that is exactly quadratic? Show that this objective function is or is not exactly quadratic, using symbolic arguments rather than numeric investigation. #2: Re-do the contour plot using the sum of absolute values, rather than the sum of squares. You might need to adjust the resolution of the grid we compute, or the # or value of contours to get a pretty picture. Hint: abs(stuff) computes the absolute value of each element in a vector or matrix named "stuff", giving you back a vector or matrix of the same size. For example, abs([3 4 -5 0 -10]) = [3 4 5 0 10]

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

hw03-contours - Homework 3 Contours Refer to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online