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!

Antworten (1)

Titus Edelhofer
Titus Edelhofer am 10 Sep. 2014

0 Stimmen

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

Kategorien

Gefragt:

am 10 Sep. 2014

Beantwortet:

am 10 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by