How to calculate the acceleration with only discrete blocks?

3 visualizzazioni (ultimi 30 giorni)
I would like to measure the acceleration out of the velocity, but I need to do so when the solver is in discrete mode and with a fixed step size of 0.02.
I tried using the discrete derivative block and discrete filter but I dont like the output I am getting.
Hope someone can help me find the optimal solution :)
I have attached the simulink file as well as the velocity.

Risposte (0)

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by