Hi everyone, please ask a question. How to remove bad values and filter the experimental data.The data is shown below.
Ältere Kommentare anzeigen

4 Kommentare
Chris
am 9 Nov. 2021
Okay, I'll ask a question. How do you define a "bad value"?
Wesley
am 9 Nov. 2021
Okay, there is actually a bad value in this vector. You can find it with
badValues = ~isfinite(x);
Then you could choose whether to delete it, or replace it with a 0 or an averaged value based on neighboring values.
After that, you should be able to apply a low-pass filter to quiet the high-frequency noise if you have the Signal Processing Toolbox, or smoothdata, or something along those lines.
Image Analyst
am 9 Nov. 2021
I already repaired the data. Don't miss my answer below.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Signal Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
