Removing dots from a graph
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to make a map using IR Data and some equations. I want to remove the unwanted data so that my final map has the least amount of irregularities. I want to remove these dots that are outliers. I have tried filtering using rmoutlier but that doesnt work very well. 

댓글 수: 4
답변 (1개)
Image Analyst
2022년 4월 27일
If x and y are your coordinate arrays, try this
goodIndexes = x >= 0 & y <= 2;
x = x(goodIndexes);
y = y(goodIndexes);
Or maybe you can use dbscan() or swrt() to extract only points that are within a certain distance of another point, so that isolated points get removed.
If that doesn't meet your needs, then say why not.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!