how can i make histogram without missing value(with nan,isnan)
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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 Commenti
Risposta accettata
  gonzalo Mier
      
 il 11 Mag 2019
        You can remove nan before computing the histogram
histogram(ws(~isnan(ws(:))))
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Histograms in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

