Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A .mat file is provided. The file contains water profiles measurements the follo

ID: 3536564 • Letter: A

Question

A .mat file is provided. The file contains water profiles measurements the following variables: depth, temperature,

density, PAR, oxygen, fluorescence from station M3 in Long Island Sound in July 1998. (a) Plot each of the six

variables versus depth using a subplot function, i.e., all the six graphs should appear on one page. Make

sure depth increases downward, label each graph and label the axes. Do not bother about the units.

(b) Interpret your results by describing what you see. For example, how does oxygen change with water

depth, etc.


This is the file our professor gave us:

http://www.fileconvoy.com/dfl.php?id=g35b1a6de10fc97d1999291959f2a5b284602a3fd3

Explanation / Answer

load ('Final_2013.mat') % This file should be in your present working directory

%depth=depth.*-1;

subplot(3,2,1), plot (depth,PAR),xlabel('depth'),ylabel('PAR')

subplot(3,2,2), plot (depth,density),xlabel('depth'),ylabel('density')

subplot(3,2,3), plot (depth,depth),xlabel('depth'),ylabel('depth')

subplot(3,2,4), plot (depth,fluoroscence),xlabel('depth'),ylabel('fluoroscence')

subplot(3,2,5), plot (depth,salinity),xlabel('depth'),ylabel('salinity')

subplot(3,2,6), plot (depth,temperature),xlabel('depth'),ylabel('temperature')


PAR value depends inversely on the depth (ie it decreses inversely with depth)

density increases first at a rapid rate then increases slowly which means it is varying some root times with the depth

flourescence it decreases linearly with depth

First salinity varies linearly for a small region with a higher rate of increase and then the rate of increse becomes smaller

For some initial region temeperature falls down linearly with a high rate then the rate decreses