Mark the values which are considered as spikes in the data
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The data is contained within a column vector. I need to find the so called spikes i.e. find their indices so I can later replace those values using linear interpolation. In the question it says: Consider a spike when the difference between consecutive values is larger than 750.
I am assuming I need to write a for loop to iterate through the vector and compare each element with the one before it, but since I am new to Matlab I am not sure how to approach this.
Thank you
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!