I have some force data and corresponding time data. How to remove vibration signal from force data?

1 view (last 30 days)
I have some force data and corresponding time data. After having force signals (with large time gap) some vibration signals are coming. See attached figure. How to remove these signals. how to convert this vibration signal value to zero.
Attached excel file. column 1 is Time values, column 2 is force values.
The image shows only one wave...data having numbers of such waves.

Answers (2)

Christopher Berry
Christopher Berry on 6 Aug 2014
Since there is a "gap" between your desired signal and the unwanted vibrations, the simplest way to do what you are describing is to just truncate the data or write all Force values after a certain time to 0. For instantance, to truncate your data to 14.984 secs:
ForceTruncated = Force(Time < 14.984);
TimeTruncated = Time(Time < 14.984);
Or if you want to keep the Time and Force vectors the same length, write zeros like:
Force(Time > 14.984) = 0
  3 Comments
Christopher Berry
Christopher Berry on 6 Aug 2014
Ok, I was thinking it was just the tail of the data you were trying to get rid of.
You could apply a threshold that will remove 'small' Force values like this:
Force(Force>-5 & Force<5) = 0
But this will also effect the regions that you are interested in as well. This shouldn't be a problem though, if you are just seeking the spike train data and not the wave shape...

Sign in to comment.


Chad Greene
Chad Greene on 6 Aug 2014
You could do a bandstop butterworth filter to remove undesired frequencies.

Categories

Find more on Measurements and Feature Extraction in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!