how to find the variance of each row in a matrix?
이전 댓글 표시
Hai,
The function var(X) finds the variance of each column, when X is a matrix. But, I need to find the variance of each row, when X is a matrix. How could I do this in matlab?
Looking for your reply.
BSD
답변 (2개)
Andrei Bobrov
2012년 5월 3일
out = var(X.').'
Thomas
2012년 5월 3일
out=var(X,0,2)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!