How can I fitting of ksdensity function?

1 view (last 30 days)
ISMAIL AHMED
ISMAIL AHMED on 20 Oct 2015
Commented: ISMAIL AHMED on 20 Oct 2015
I have vector Z (1*8515 double),I applied ksdensity function on it by the following
[fi,xi] = ksdensity(z,'function','pdf');
My question is how can I fitting of above to extract fitting parameters as the features?
Thanks for all... regards...

Answers (1)

Image Analyst
Image Analyst on 20 Oct 2015
I don't think you pass the word 'function' in. And you need to use capital Z because lower case z would be a different variable because MATLAB is case sensitive. Other than that, I don't understand your question. ksdensity() will give you a PDF - essentially a smoothed histogram with an area of 1. What more do you want? What parameters are you talking about?
  1 Comment
ISMAIL AHMED
ISMAIL AHMED on 20 Oct 2015
for example,I calculates histogram by pdf of data and then i want to see or capture theses changes,then I use asymmetric generalize Gaussian distribution model to fitting the curve of histogram. what about kernel density estimate?

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!