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!

Answers (1)

Titus Edelhofer
Titus Edelhofer on 10 Sep 2014

0 votes

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

Categories

Asked:

on 10 Sep 2014

Answered:

on 10 Sep 2014

Community Treasure Hunt

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

Start Hunting!