Excluding data on log scale
3 次查看(过去 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!