Remove strong Noise in signal
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I am thinking if is possible to remove a very strong noise in a signal that i recorded. The idea is to remove the noise from the files and only plot the signal (like in the first five spikes). Is it possible to locate only the major spikes and so remove it? Other problem is that sometimes the minor spikes happens in the same times than major spikes (this happens in the 6th spike). Follow the data attached. I will appreciate any help. Thanks!
![noisy.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/214982/noisy.jpeg)
2 commentaires
KALYAN ACHARJYA
le 20 Avr 2019
Do you want to remove larger spike (amplitude) or clip its aplitude in certain range?
Réponses (1)
Image Analyst
le 20 Avr 2019
Try this:
% Get threshold based on first 5 points. It should be bigger than the tallest of those, say by 10% or whatever
threshold = max(signal(1:5)) * 1.10;
% Get "good" indexes - those with signal values less than the threshold.
goodIndexes = signal < threshold;
filteredSignal = signal(goodIndexes);
1 commentaire
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!