Standard deviation of columns of a table
2 views (last 30 days)
Show older comments
Suppose I have a 30x3 table.
Now I would like to find the standard deviation of each column
I tried
stdev= std(montherrors(:,1))
But that does not work unfortunately
0 Comments
Accepted Answer
Voss
on 4 Apr 2022
Here's one way:
data = num2cell(randn(30,3),1);
montherrors = table(data{:})
stdev = std(montherrors{:,:},[],1)
0 Comments
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer 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!