Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


steffi
Posts:
5
Registered:
4/27/12


Re: oceanography, thermocline
Posted:
May 3, 2012 11:40 PM


"Matt J" wrote in message <jnmo0j$c4o$1@newscl01ah.mathworks.com>... > "shaula nataya" <swl100789@gmail.com> wrote in message <jnmjg6$ku4$1@newscl01ah.mathworks.com>... > > TideMan <mulgor@gmail.com> wrote in message <1280382.1474.1335513431656.JavaMail.geodiscussionforums@pbsw19>... > > > On Friday, April 27, 2012 7:40:12 PM UTC+12, steffi wrote: > > > > Hello, > > > > I'm glad I joined this community with so many experts. > > > > > > > > I have monthly data (in situ) consist of depth, salinity, and temperature. My purpose are to make vertical profiles and to determine the thermocline layers. > > > > I do not know how to build Matlab script for thermocline layers. I hope someone can help me. > > > > > > > > Many thanks. > > > > > > A good start would be: > > > plot(T,depth) > > > > I already draw the plot using Matlab. > > The problem is I confused how to formulate a matlab script to determine the thermocline layers. I use the theory that when temperature decrease 0,1 deg C per 1 m it called thermocline (based on Tomzcak, 2004). Any idea how to build it? > =============== > > At what depth intervals are your temperature data taken? If they are 1 m apart, you can just use the DIFF command to look for jumps of 0.1 def. > > thermoclineBoundaries=(diff(T)>0.1) ============================== The data are 1 m apart, so its possible to calculate using that theory.
Thank you, Matt.



