A double pendulum simulation created with Simulink is animated using MATLAB. First, initial conditions with zero inputs are simulated. Secondly, a PID controller is implemented at the mass 1 linkage. Finally a disturbance is added between the controller and plant.
Further explained on my blog: [ Ссылка ]
Ещё видео!