Mean doesn't work
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi, I have doubt in mean. if we have more than 10000 rows why mean doesn't work actually sum also does not work. for example, All_measured = 43472*30 double and the mean formula: mean(All_measured ,2) but the answer is 43472*1 full of NaN Any suitable ideas are very appreciable.
댓글 수: 0
채택된 답변
Star Strider
2017년 7월 6일
Try this:
mean(All_measured ,2, 'omitnan')
or:
nanmean(All_measured ,2)
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!