Mean Kernel Density

Please let me know how to calculate the mean value of a kernel density. For example, if I construct the kernel density plot for a given dataset x1, x2, ......, xn, I want to find the value of x that gives the highest peak

4 commentaires

Devinya Herath
Devinya Herath le 5 Oct 2011
Could anybody help please
Florin Neacsu
Florin Neacsu le 5 Oct 2011
Hi,
Please provide more info. Also please have a look at http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Sean de Wolski
Sean de Wolski le 5 Oct 2011
And I'd recommend reading this in the mean time:
http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F
the cyclist
the cyclist le 5 Oct 2011
Devinya. The mean and the location of the highest peak are two different things. Which do you want?
Also, I have answered this question for you in two other Answers. You can find them in my answer list, in the Questions that you posted to.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by