Hi, I understand that you want to compute the stats without using any grouping variable. It could be done as follows:
>>summarytable = grpstats(dsa, [],{'sum','mean'})
>>openExample('stats/SummaryStatisticsforaDatasetArrayWithoutGroupingExample')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!