Mean doesn't work
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Venkat Ta
am 6 Jul. 2017
Kommentiert: Star Strider
am 7 Jul. 2017
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 Kommentare
Akzeptierte Antwort
Star Strider
am 6 Jul. 2017
Try this:
mean(All_measured ,2, 'omitnan')
or:
nanmean(All_measured ,2)
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!