how to plot a gaussian1D for probability density of the normal distribution

3 ビュー (過去 30 日間)
Gadadhar Sahoo
Gadadhar Sahoo 2017 年 12 月 2 日
コメント済み: Gadadhar Sahoo 2017 年 12 月 2 日
gaussian = (1/sqrt(2*pi*vars(k)))*exp(-(x(p)-means(k)).^2/(2*vars(k)));

採用された回答

Birdman
Birdman 2017 年 12 月 2 日
編集済み: Birdman 2017 年 12 月 2 日
There is a built in function for it, called normpdf. You do not need to write the function by yourself.

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by