Effacer les filtres
Effacer les filtres

how can i work with the derivative of the input of a system

1 vue (au cours des 30 derniers jours)
jose luis guillan suarez
jose luis guillan suarez le 30 Juin 2018
i have this code:
function [xdot, udot]=pid_practica9_ejercicio3_ec_diferencial_prueba2(t,x)
Vp=5;
u=Vp*square(2*pi*t)+5;
udot = 1.776*0.05252*(u-x(1, :));%udot must be the derivative of this
xdot = [
x(2, :);
20*udot-10*x(1, :)-7*x(2, :);
];
%[t,x]=ode45('pid_practica9_ejercicio3_ec_diferencial_prueba2',[0,10],[0,0])
%plot(t, x(:, 1));
where udot must be the derivative of: 1.776*0.05252*(u-x(1, :))
how can i do it?

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by