% declaration des variables
taux= 0.01;
Kc=8.230591;
K=0.8*Kc
z=0.5;
wn=2*pi;
t=0:0.0001:2;
% declaration des fonctions de transferts
H=tf(K,[1/wn^2 2*z/wn 1]);
C=tf([-taux 1],[taux 1]);
FTBO=H*C;
FTBF=feedback(FTBO,1)
%***************Etude en boucle ouverte**************
% reponse indicielle
% figure(1)
% hold on
% step(FTBO,t);
% hold off
% grid
%
% figure(2)
% hold on
% lsim(FTBO,t,t)
% hold off
% grid
%***************Etude en boucle fermée**************
% reponse indicielle
figure(1)
hold on
step(FTBF)
grid
hold off
figure(2)
bode(FTBO)
grid
figure(3)
nyquist(FTBO)
grid
figure(4)
hold on
% nichols(FTBO)
% hold off
% grid
Citation pour cette source
Mourad (2024). tp1 (https://www.mathworks.com/matlabcentral/fileexchange/118370-tp1), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2022b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |