How to calculate the mean of a subset of the full dataset?
7 views (last 30 days)
Show older comments
Siddharth Satishchandran
on 19 Jun 2021
Commented: dpb
on 21 Jun 2021
I have a dataset that I have compiled but i want to calculate the mean call rate for a subset of the data (Individuals 1-3) using the audio start time and stop time. how would I go about just using the subset of the data and also calculating the mean? I have provided a screenshot of the dataset.
3 Comments
Accepted Answer
Sulaymon Eshkabilov
on 19 Jun 2021
Use mean(), e.g:
mean(A, 1) % Columnwise
mean(A, 2) % Rowwise
0 Comments
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!