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!