Skip to content

Commit

Permalink
Update Script_Controle_Espaco_de_Estados.m
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagopem authored Dec 6, 2018
1 parent 998f677 commit 52ca605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/matlab/Fase 3/Script_Controle_Espaco_de_Estados.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
u(1,i)= 1;
end

%% Resposta do seguidor de referência para condições iniciais dadas sem observador
%% Resposta do seguidor de referencia para condicoes iniciais dadas sem observador

x0c=[0 0 0]'; %Condicoes iniciais
[Y] = lsim(Ac,Bc,Cc,Dc,u,t,x0c);
figure; plot(t,Y,'b',t,u,'r');
title('Saída do Sistema com Seguidor de Referência'); axis([0 max(t) 0 1.2])
title('Saida do Sistema com Seguidor de Referencia'); axis([0 max(t) 0 1.2])

clear k1 K1 k2 K2 k3 K3 KK PolControle PolDesejado
clear PolK Polos x x0 x0c t u X Y I i Aa Ac Ba Bc Cc Dc;

0 comments on commit 52ca605

Please sign in to comment.