Removal of spike at beginning of filtered signal time series plot

5 views (last 30 days)
Hi,
I have several plots of a filtered signal, all of which have a spike at the beginning which I would like to remove. Is there a way of routinely carrying out this removal rather than manually searching for the values corresponding to this spike and not plotting them?
My plot is essentially time against ground velocity.
Thanks and my apologies for this seemingly vague description

Answers (1)

Star Strider
Star Strider on 21 Nov 2017
Guessing here, since I don’t have your data (or even a picture of it).
See if the Signal Processing Toolbox findpeaks function can identify the ‘spike’, the negate your signal and see if findpeaks can identify the start and end of the spike. If so, you can use the location data (getting the indices would be easiest) to isolate and eliminate it.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!