image thumbnail

SimMechanics pendulum used for control optimization

by

 

31 Aug 2010 (Updated )

Pendulum imported via SimMechanics generates dynamics for optimal dampening solved by DIDO.

[a,b]=SimMechanics1Cos(x)
function [a,b]=SimMechanics1Cos(x)
a=0;%x.nodes(end);
b=sum(x.controls.^2,1);

Contact us