how to plot normalised histogram with specific number of bins?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Khoder Makkawi
il 31 Mag 2019
Risposto: Star Strider
il 31 Mag 2019
I have a vector of 1000 variables and I want to plot the normalised histogram with specific number of bins.
for a the normalisation I know that I should use this code: histogram(class_1,'Normalization','probability');
and for the specific number of bins(500 for example) I should use this code: histogram(class_1,500);
but how I use them together?
0 Commenti
Risposta accettata
Star Strider
il 31 Mag 2019
Try this:
figure
histogram(class_1, 500, 'Normalization','probability')
0 Commenti
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!