How can I read from a text file
조회 수: 1 (최근 30일)
이전 댓글 표시
I have one column with 641 rows. I want to read rows number 1,2,12,22,23 and take the mean of all 5 numbers in these rows. How can I do this?
댓글 수: 0
채택된 답변
Image Analyst
2014년 6월 17일
theMean = (columnVector(1)+columnVector(2)+columnVector(12)+columnVector(22)+columnVector(23))/5;
It's pretty basic - am I missing something?
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Standard File Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!