I have some force data and corresponding time data. How to remove vibration signal from force data?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Christopher Berry
2014-8-6
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 个评论
Christopher Berry
2014-8-6
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...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Measurements and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!