How to calculate the acceleration with only discrete blocks?

2 views (last 30 days)
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.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!