Remove strong Noise in signal
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
KALYAN ACHARJYA
am 20 Apr. 2019
Do you want to remove larger spike (amplitude) or clip its aplitude in certain range?
Antworten (1)
Image Analyst
am 20 Apr. 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 Kommentar
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!