How can I plot histogram?
Ältere Kommentare anzeigen
I nedd help to scale the y-axis of Gaussian pdf
for example:
x = linspace(-20,20);
plot(x,normpdf(x,4,4))
How can I plot the histogram of this example?
Akzeptierte Antwort
Weitere Antworten (1)
Daniel Pollard
am 29 Jan. 2021
That link is for the documentation for histogram.
histogram(normpdf(x,4,4))
will do what you want.
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!



