How can i change the timestep of my data set and reduce the number of data?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abbas Yari
el 16 de Jul. de 2018
Comentada: Abbas Yari
el 16 de Jul. de 2018
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 comentarios
Respuesta aceptada
KSSV
el 16 de Jul. de 2018
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) ;
Más respuestas (0)
Ver también
Categorías
Más información sobre Multirate Signal Processing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!