How to Kernel Density Estimation with 2D data
Show older comments
Hi there, I am trying to create a pdf with my 2D data so that i could do kernel density estimation. Like calculating p(x|f=1) using my pdf.
It's sort of similar to the question here https://au.mathworks.com/matlabcentral/answers/195596-use-kernel-density-estimation-to-get-the-probability-of-a-new-observation, other than that i have 2D data.
I don't know whether its easier to use fitdist or ksdensity. This question here https://au.mathworks.com/matlabcentral/answers/18365-kernel-density-for-2d-data seems to be like i want but they didn't use the pdf to compute probability p(x|f=1).
Answers (0)
Categories
Find more on Kernel Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!