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 Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!