[EDIT: 20110614 09:54 CDT - reformat - WDR]
I have a matrix dep(time,lat,lon), shape=[5 20000 30000]
The matrix is data from 5 years worth of hydrographic surveys and each survey contains data for depth at position lat and long. I already have the matrices for lat and lon as separate variables: lat [20000x1 double] and lon [30000x1 double]
The five layers of the dep matrix correspond to survey data each year from 2000 to 2004. What I would like to do is be able to 'extract' data from just one year so that I can do a contour(lat,lon,depth) plot for that year.
I am still learning the ropes with Matlab, any help would be much appreciated. Thank you!