How can I fitting of ksdensity function?
1 view (last 30 days)
Show older comments
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...
0 Comments
Answers (1)
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?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!