Help me with "NORMPDF"

Hello,
I really need help with my matlab file, specifically using normpdf.
I have attached a photo of my current status; where input matrix is pca transformed matrix Y = normpdf(matrix size of 1:240,16,mean,standard deviation) plot(Y)
and I do not get a plot anywhere near the normal distribution.
Can someone help me with this? Thanks!

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2014 年 9 月 10 日

0 投票

Hi,
how can you see, that this is not normally distributed? Could it be that you mix up the plot with the histogram? Try hist to plot your vector Y and I'm pretty sure it looks more like what you expect ...
Titus

カテゴリ

ヘルプ センター および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

質問済み:

2014 年 9 月 10 日

回答済み:

2014 年 9 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by