EGR 103/Fall 2015/Lab 5

From PrattWiki
Revision as of 14:45, 21 September 2015 by DukeEgr93 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is meant to serve as the basis for a self-guided tour of the various parts of Lab 5. It will include relevant links and example for each problem. Dr. G will also be presenting materials during the lab.

Palm 5.2

Pretty straightforward. Remember to use a large number of points for finding numerical extrema and a decidedly smaller number of points for making the plot.

Chapra 3.9

The core of this problem is to learn how to make a surface plot with contours. MATLAB:Plotting_Surfaces contains a great deal of information about this process. The meshgrid command is especially important.

Palm 5.30-5.32

The main programming concepts here are using subplots and creating a contour plot. More information can be found at MATLAB:Contour_Plots

Palm 5.34

IBID

Palm 4.28

This problem expands on making surface plots to using 2-D matrices to solve optimization problems. MATLAB:Plotting_Surfaces and MATLAB:Contour_Plots will be useful in making the plots. The section MATLAB:Plotting_Surfaces#Finding_Minima_and_Maxima_in_2-D will be especially helpful in terms of finding the best location for the distribution center.