Finding outlier using kde2d function.

4 views (last 30 days)
Niranjan Kolhatkar
Niranjan Kolhatkar on 8 Feb 2019
I have a set of data containing latitude and longitude, I have generated contour plots by applying kde2d function
(file exchange). Now i want to check whether a given point is inside acceptable area or not. So i tried with inpolygon funtion by taking contour points as set of points to input inpolygon function. But it is giving wrong output. Even though my point is plotting inside that area but inpolygon is giving it as an outlier point.so please help me out.
And any other approaches to find the outlier is also appreciated.

Answers (0)

Categories

Find more on Contour Plots 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!