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!



