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!

Risposte (1)

Titus Edelhofer
Titus Edelhofer il 10 Set 2014

0 voti

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

Richiesto:

il 10 Set 2014

Risposto:

il 10 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by