blob: f0e7e9e8e1df0de70e872e892c7ad809948053f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Example 2-12-c
clc ;
t0 =1;
T =10;
c=2;
for t =1: T
x ( t ) =t;
y ( t ) =3*(x(t))^(2);
end
inputshift = 3*(x(T - t0))^(2)
outputshift = y (T - t0 )
if( inputshift == outputshift )
disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' );
else
disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
end
|