How to calculate the standard deviations of each row of an array and get those as a 1-D array?
조회 수: 60 (최근 30일)
이전 댓글 표시
How to calculate the standard deviations of each row of an array and get those as a 1-D array?
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2015년 6월 24일
편집: Azzi Abdelmalek
2015년 6월 24일
M=rand(4,3)
% std for each row
s1=std(M,[],2)
% std for each column
s2=std(M)
추가 답변 (2개)
Jan
2015년 6월 24일
If you do not know the required command, you can look in the "See also" line of similar commands or use docsearch to search for terms inside the documentation. Even asking your favorite internet search engine is a good idea. All of these ideas are faster and more efficient than asking the forum, so it is recommended to try them at first.
댓글 수: 0
jaypal singh
2019년 1월 27일
dear sir,
I have 90000x13 (table).mat file .
here is 1-80000 is 0 label
and 800001-90000 is 1 label
i have to find avg and std for 0 label seperate and for 1 label seperate
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Special Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!