Mark the values which are considered as spikes in the data
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Multirate Signal Processing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!