HOW DO I USE AVERAGEIF(excel) IN MATLAB?
Show older comments
Hello, so I am new to Matlab and I am doing a project where I have to find the average of my column "weights" depending on the column "sex". So it is pretty much finsing the average weight of males and females. This is how the table looks like :

Accepted Answer
More Answers (1)
Steven Lord
on 7 Oct 2021
0 votes
Take a look at the groupsummary function.
1 Comment
Sara Hill Osorio
on 8 Oct 2021
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!