% 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
Cite As
Mourad (2024). tp1 (https://www.mathworks.com/matlabcentral/fileexchange/118370-tp1), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |