How can i take double integral of a second derivative?

1 次查看(过去 30 天)
I am working on a problem in which I am taking the equations of motion of a quadcopter and applying PD control on them. As the result, I am getting the second derivatives of x,y and z. But I need the z value which is the displacement in z direction from the second derivative of z( its acceleration). I saw a simulink model where they took they placed the values through a integrator. Can I do something similar in my code?
Any help is appreciated.
Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 PID Controller Tuning 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by