Plot da entrada
This commit is contained in:
10
Questao_B.m
10
Questao_B.m
@@ -8,4 +8,12 @@ step(sys1);
|
||||
grid;
|
||||
[y1, t1] = step(sys1);
|
||||
t = 0:0.1:6;
|
||||
y2 = step(sys1, t);
|
||||
y2 = step(sys1, t);
|
||||
|
||||
T=0:0.1:50;
|
||||
U(1:70)=1;
|
||||
U(71:125)=2;
|
||||
U(126:250)=-1;
|
||||
U(251:375)=1.5;
|
||||
U(376:501)=0.5;
|
||||
plot(T, U);
|
||||
Reference in New Issue
Block a user