Excluding data on log scale
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi!
i have noisy data, and i want to fit a plot through it. i need to exclude some data points in the outliers, but i can recognize them only in the log scale plot.
is there a way to do it ?
I know that you can graphically exclude data in cftool, but it's not possible to show the data in log scale there.
Thank you
댓글 수: 0
답변 (1개)
dpb
2014년 8월 18일
편집: dpb
2014년 8월 18일
The "trick" w/ cftool is to "Print to figure" from the File Menu wherein you can use the figure editor to change axes properties. Why it's not internal to the tool is, I suppose, simply one of complexity/newer implementation doesn't yet have all the bells and whistles. I note it takes quite a long time to load already here in R2012b.
Alternatively, of course, you can use a custom fit and take log(x) on linear axes to achieve same effect albeit w/o the convenience of the scale being in original units.
댓글 수: 2
dpb
2014년 8월 18일
편집: dpb
2014년 8월 18일
Yes, best you can do is use the other figure to identify which points you want excluded. As noted, it's an imperfect tool at best.
ADDENDUM
I'd probably approach the problem by using a log or semilog fit whichever it is that works and then compute the residuals and look for outliers numerically. A useful background article on the subject...
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!