How get a mean value without nan values?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 1345*649*90 double type chlorophyll-a dataset. I got mean value using the nanmean. But after plotting the data, the some white patches are on the colormap. I want to solve this issue. This is the code which I used get the mean.
SWM_mean=squeeze(nanmean(SWM,3));
댓글 수: 3
Star Strider
2023년 4월 26일
If you have R2023a, another option is to use:
SWM_Mmean = fillmissing2(mean(SWM,3), 'linear');
.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Orange에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!