tp1

Version 1.0.0 (1.3 KB) by Mourad
aa
7 Downloads
Updated 30 Sep 2022

View License

% 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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0