Escolar Documentos
Profissional Documentos
Cultura Documentos
s +1 5, 8s + 12
P(s) = ; H(s) = 1; C (s) = .
(s + 8)(s 2 + s + 1) s
[y , t] = step(MF );
[y max, i] = max(y )
t(i)
[yr , t] = step(MF , 0 : 0.01 : 12);
[yw , t] = step(0.5 ∗ P/(1 + PC ), 0 : 0.01 : 12);
plot(t, yr + yw )
hold on
plot(t, yr , t, yw )
legend(0 Resposta total 0 ,0 Resposta y r 0 ,0 Resposta y w 0 )
sis ex = rss(5) % Gera um modelo aleatório no
% espaço de estado
s +1 5, 8s + 12
P(s) = ; H(s) = 1; C (s) = .
(s + 8)(s 2 + s + 1) s
FTwy = P/(1 + H ∗ P ∗ C )
figure; bode(FTwy )
grid on % ou
freq = logspace(log 10(1e − 1), log 10(10));
figure;
bode(FTwy , freq);
[magnitude, fase, w ] = bode([1], [1 1 1]));
semilogx(w , magnitude);
1 Introdução
3 Simulink