Breaking up data into intervals and matching to other data set
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi there,
I have 2 data sets both consisting of 92 values (or 92 days). The first consists of rainfall data between 0 and 0.6mm. I would like to break the data up into 7 categories, days with 0 rainfall, 0-0.1mm, 0.1-0.2, 0.2-0.3, ect.
I then want to to match the days in which there was, ie. 0mm, to the corresponding days in the other data set (carbon concentration). And then say there were 10 days where there was 0 rainfall, make an average carbon concentration of those 10 days.
And then create a bar graph, comparing carbon concentration at 0mm, 0-0.1, 0.1-0.2, ect. (something like in the attached JPEG)
Any help would be much appreciated,
Cheers :D
Have included data.
1 Commento
Risposte (0)
Vedere anche
Categorie
Scopri di più su Bar Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!