How to calculate the acceleration with only discrete blocks?

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by