Excluding data on log scale
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
dpb
le 18 Août 2014
Modifié(e) : dpb
le 18 Août 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 commentaires
dpb
le 18 Août 2014
Modifié(e) : dpb
le 18 Août 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...
Voir également
Catégories
En savoir plus sur Curve Fitting Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!