Ajout figures debut
This commit is contained in:
parent
24477a4182
commit
81c5ed6ee4
1 changed files with 12 additions and 4 deletions
16
BE_Beam.m
16
BE_Beam.m
|
|
@ -8,6 +8,8 @@ clear;
|
|||
clc;
|
||||
close all;
|
||||
|
||||
SAVE = 0;
|
||||
|
||||
set(0, 'DefaultLineLineWidth', 1)
|
||||
|
||||
%% Question 3
|
||||
|
|
@ -96,8 +98,9 @@ xlabel('Réel');
|
|||
ylabel('Imaginaire');
|
||||
hold off;
|
||||
|
||||
exportgraphics(gcf, './latex/Illustrations/Question4.pdf')
|
||||
|
||||
if SAVE
|
||||
exportgraphics(Question4, './latex/Illustrations/Question4.pdf')
|
||||
end
|
||||
%% Question 5
|
||||
|
||||
t = 0:0.01:10;
|
||||
|
|
@ -110,8 +113,10 @@ xlabel("Temps (s)");
|
|||
ylabel("Amplitude");
|
||||
legend("u(t)", "y(t)");
|
||||
title("Simulation en boucle ouverte") ;
|
||||
exportgraphics(Question5, './latex/Illustrations/Question5.pdf')
|
||||
|
||||
if SAVE
|
||||
exportgraphics(Question5, './latex/Illustrations/Question5.pdf')
|
||||
end
|
||||
|
||||
%% Question 7
|
||||
|
||||
|
|
@ -142,8 +147,10 @@ xlabel("Temps (s)");
|
|||
ylabel("Amplitude");
|
||||
legend("$u(t)$", "$y(t)$", "$w_c(L,t)$", "$w(L,t)$", 'Interpreter', 'latex');
|
||||
title("Simulation du retour de sortie avec pré-gain") ;
|
||||
exportgraphics(Question8, './latex/Illustrations/Question8.pdf')
|
||||
|
||||
if SAVE
|
||||
exportgraphics(Question8, './latex/Illustrations/Question8.pdf')
|
||||
end
|
||||
|
||||
%% Question 9
|
||||
|
||||
|
|
@ -164,6 +171,7 @@ plot(eig_zoh1,'x');
|
|||
hold on;
|
||||
plot(eig_zoh3,'x');
|
||||
hold off;
|
||||
|
||||
%%
|
||||
sys_CL_Ts = c2d(sys_CL, 10, 'zoh');
|
||||
figure
|
||||
|
|
|
|||
Loading…
Reference in a new issue