EGR 103/Fall 2015/Lab 5

From PrattWiki
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 for EGR 103. It will include relevant links and example for each problem. Dr. G will also be presenting materials during the lab.

Typographical Errors

None yet!

3.4 Assignment

3.4.1 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.

3.4.2 Palm 5.21/6.7

Just three different ways of looking at a data set!

3.4.3 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.

3.4.4 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

3.4.5 Palm 5.34

IBID

3.4.6 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.