how can i make histogram without missing value(with nan,isnan)
12 ビュー (過去 30 日間)
古いコメントを表示
please help me.
i want calculate wind direction and speen without Missing values(they are appeared -999) and then display it's frequency with histogram.
so i used nan,isnan but it didn't work it apear like this picture(sky blue color). how can i do to make the latter picture(blue one)?
) ?
0 件のコメント
採用された回答
gonzalo Mier
2019 年 5 月 11 日
You can remove nan before computing the histogram
histogram(ws(~isnan(ws(:))))
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!