Indexing force plate data
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to index the following force plate data at the points represented in red (y = 0.01), so that I can cut the data into individual spikes with an associated zero-phase. I have tried flipping the data and using findpeaks and islocalmax, but note that the zero phase is quite noisy so it would index at points which were not consistent.
I am thinking that using find and defining a threshold will be the best way to go?
I have attached a matfile with the data.
0 个评论
采纳的回答
KSSV
2020-11-11
If (x,y) is your data. You can get those y values of 0.01 using:
tol = 10^-4 ; % consider changing this
idx = abs(y-0.01)<=tol ;
y(idx)
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!