how to plot histogram
Ältere Kommentare anzeigen
I wanted to plot the histogram of the attached data with number of bins = 42
When i use
figure, imhist(HRGB,42)
I get just 2 vertical lines at 0 and 1.
Instead, how can i get histogram with number of bins 42, or is the below code correct?
h = histogram(HRGB,42);
Or is there a better way to plot the histogram of the attached data?
3 Kommentare
KSSV
am 2 Jun. 2022
What is your necessity?
Elysi Cochin
am 2 Jun. 2022
Star Strider
am 2 Jun. 2022
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Histograms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



