Standard deviation of columns of a table
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Voss
2022-4-4
Here's one way:
data = num2cell(randn(30,3),1);
montherrors = table(data{:})
stdev = std(montherrors{:,:},[],1)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!