Scatter graph trend line adjustment and outlier removal

10 views (last 30 days)
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?

Answers (1)

Star Strider
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.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!