matlab - integrate velocity over depth -


i have velocity measurements in 23 layers of water column.

the dz of each layer 1meter.

how can calculate integrated velocity on depth?

is trapz(velocity)/23 ?

many thanks

ana

ah yes, fluid dynamics class. remember well... think best representation of fluid flow given measurements? i'd take first shot @ using microsoft excel, right higher order analysis provide more 'accurate' results.

the 'average' velocity integral (area under curve) in case divided number of equally spaced readings.

trapz fine. there other matlab functions out there, check out

http://web.itu.edu.tr/~sertele/dersler/matlab/ders09.pdf

and hey, while we're on topic.. here's next question. happens if measurements aren't uniformly spaced? (hint: draw data on graph paper first... x axis = depth, y axis = velocity)


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -