How can I plot histogram?
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Daniel Pollard
2021년 1월 29일
That link is for the documentation for histogram.
histogram(normpdf(x,4,4))
will do what you want.
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



