Matlab Class Home      Class Outline      Main Task

13. Evaluation Details:

Read the matlab file MABelev.mat which contains the elevation for the Middle Atlantic Bight region of the eastern US at 5 minute intervals (MABelev) along with latitude (MABlat) and longitude (MABlon) arrays.
  1. [7;5] Write a script to read the elevation data set. Create an RGB image the same size as the elevation array. Color all points above sea level (elev > 0) black and color all points below sea level blue. Also create 3 other images for the case that sea level is 1 m and 5 m above as well as 5 m below current sea level.
  2. [2;3] write a script to create a color map with 11 colors with color 1 being black and the remaining colors shading from green to blue. Create an indexed image of the Middle Atlantic Bight elevation with land colored black and the water shading from color 2 to color 11 with depth.
  3. [1;2] Write a script to create a movie showing a filled circle moving in a circle around the center of a domain that is 20 units by 20 units. Choose the size of the circle and the speed that the filled circle moves so that it goes smoothly around the center about 3 times.

Matlab Class Home      Class Outline      Main Task


email: J. Klinck