How can I determine the start and end of a movement?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Lala0099
el 9 de Mzo. de 2019
Comentada: Lala0099
el 13 de Mzo. de 2019
Hello Everyone, I am trying to determine the beginning and the end of a movement , using matlab. So I have as ensr, that I used to collect data for specific movement. But before the actual movement, there is some time, where I the actual movement is not present yet, but the waiting position.
How can I get rid of that ? Any algorithm to find the start and end of a movement?
I would be greateful for any help
0 comentarios
Respuesta aceptada
Image Analyst
el 9 de Mzo. de 2019
Just crop it off starting at some index:
signal = signal(index:end)
To find out what index is, we'd need to know your signal, and your movement signal (if they're different signals). Attach it/them in a .mat file with the paper clip icon.
9 comentarios
Image Analyst
el 11 de Mzo. de 2019
Editada: Image Analyst
el 11 de Mzo. de 2019
You can use the first one if you want. I just used the second one because when I was debugging it, it was easier to see where I was on the x axis when I used the index instead of the time.
You might also look at the findchangepts() function.
Más respuestas (0)
Ver también
Categorías
Más información sobre Analog Devices ADALM1000 Support from Data Acquisition Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!