Scatter graph trend line adjustment and outlier removal
7 views (last 30 days)
Show older comments
Hi
I have produced the following plot for my sensor. At times my sensor could produce a false result while its trying to stablise, general all samples should be close to a trendline unlike the samples below. Is there any function which can correct this false samples, while plotting a scatter plot? I am aware of the various outliers functions i can use prior to the plotting of data, but was woundering if it possible while plot the trendline or manual adjust the trendline?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1689807/image.png)
0 Comments
Answers (1)
Star Strider
on 8 May 2024
The only option that I can suggest is the rmoutliers function. You will have to experiment with it to get the result you want.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!