Spike at the start of discrete integration.
Afficher commentaires plus anciens
I have an angular displacement in Yaw at a 100Hz sampling rate. When I try to differentiate it, I get a spIke at the first sample point of velocity and 2 spikes in the first 2 samples of acceleration. I plan on passing this into a low pass filter so I can't ignore these samples either unfortunately. What am I doing wrong that causes the spikes at the start of my differentiated channel?
The Blue line is Velocity and yellow is Acceleration in the attached scope image.
4 commentaires
Paul
le 7 Déc 2023
Probably relate to the Initial Condition parameter of the Discrete Derivative block(s).
Can you upload Yaw_Data in a .mat file (use the paper clip icon on the Insert menu) or show the three signals on three separate scopes?
Andrew Gilliam
le 7 Déc 2023
Paul
le 7 Déc 2023
Zoom in on each scope for the first 0.040 seconds like in the attached JPEG so we can see what's going on with each signal in the time of interest.
Andrew Gilliam
le 7 Déc 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Signal Generation, Manipulation, and Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

