Binning CTD data into 10m intervals and corresponding data in separate columns
Mostrar comentarios más antiguos
Hi everyone, first time posting here. I am trying to bin the following data that I have stored in a array (5026 X 6 double).
The 6 columns are the same length and contain data for: (1)time (2)pressure (3)temperature (4)salinity (5)density (6)frames/row.
I want to bin all the data into 10 meter intervals using pressure while retaining the 6 column structure. The 6th column I need to be binned into the 10m intervals as a sum.
Any suggestions would be greatly appreciated!
Thank you in advance!
Respuesta aceptada
Más respuestas (1)
Chad Greene
el 21 de Mayo de 2014
I'm not sure if I understand your question. Do you need the data that are plotted by the hist function? If so,
[n,xout] = hist(...)
might be the ticket.
1 comentario
Fredrick
el 21 de Mayo de 2014
Categorías
Más información sobre Oceanography and Hydrology en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!