MATLAB Answers

analysis of variables in a MATLAB table and group analysis of variables

4 views (last 30 days)
Christian di Noia
Christian di Noia on 7 Nov 2020
Answered: Abhisek Pradhan on 12 Nov 2020
Hello, i'm totally new to MATLAB. I'm trying to analyze a 300x120 table. in each colomn i have a title that exprss the quantity i'm considering. So i have lots of variables. I'd like to know how to:
1)make a for loop on al the colums in order to extract descriptive statistics such as mean,std, variance and print for each column an instogram of th distribution, with previous values shown on the graph.
2)make a group analysis(so how can i create a group function?) and plot both on different graphs that on the same graph those group variables. Finally,how can i correlate different variables between the same group? Is there a way to see correlation between all the elements of a specific group subsequently?
Thank you in advance

Answers (1)

Abhisek Pradhan
Abhisek Pradhan on 12 Nov 2020
Statistics and Machine Learning Toolbox in MATLAB can be used for descriptive statistics of any dataset. Refer the following link to learn more about descriptive statistics.
And grpstats can be used for grouping data together and getting any summary statistics.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!