Excluding data on log scale
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
dpb
on 18 Aug 2014
Edited: dpb
on 18 Aug 2014
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 Comments
dpb
on 18 Aug 2014
Edited: dpb
on 18 Aug 2014
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...
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!