contour map and pdf for a 2d dataset
2 views (last 30 days)
Show older comments
I have a set of data that includes x and y coordinates. The outline of these points create a concave polygon, similar to a figure 8. I would like to get the probability density function for this (I've been using ksdensity) and contour it so that the contours stop at the outer edge of the data.
So far, manipulating ksdensity (specifically, the bin size/width) has resulted in contours that either excludes data, or includes areas without any data points.
Any ideas?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!