How can i change the timestep of my data set and reduce the number of data?
5 次查看(过去 30 天)
显示 更早的评论
I have a set of data including 220 points (time,force). The time step is 0.004. I want to reduce the number of data to 186. Is that possible? Any help is appreciated...
0 个评论
采纳的回答
KSSV
2018-7-16
Read about interp1. Let t be your time data, and F be your force data.
ti = linspace(min(t),max(t),186) ;
Fi = interp1(t,F,ti) ;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!