Mean doesn't work
2 ビュー (過去 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!