How get a mean value without nan values?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Star Strider
am 26 Apr. 2023
If you have R2023a, another option is to use:
SWM_Mmean = fillmissing2(mean(SWM,3), 'linear');
.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Orange finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!