How to average multiple rows into a single row?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a 24 x 53513 array
I like to average the 24 rows into a single row.
Lets say:
A = 2 3 4 5 6
1 4 5 6 1
3 5 6 7 5
I want it to be like:
B = 2 4 5 6 4
How should I code it?
댓글 수: 0
답변 (1개)
dpb
2014년 12월 23일
B=mean(A);
Read
doc mean
And then go thru the tutorial info in "Getting Started" to learn the basics of Matlab...
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!