diff options
Diffstat (limited to '3838/CH2/EX2.12.b/EX2_12_b.sce')
-rw-r--r-- | 3838/CH2/EX2.12.b/EX2_12_b.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3838/CH2/EX2.12.b/EX2_12_b.sce b/3838/CH2/EX2.12.b/EX2_12_b.sce new file mode 100644 index 000000000..0bbd6bbd7 --- /dev/null +++ b/3838/CH2/EX2.12.b/EX2_12_b.sce @@ -0,0 +1,17 @@ +//Example 2 2.12.b
+clc ;
+t0 =1;
+T =10;
+c=2;
+for t =1: T
+x ( t ) =t;
+y ( t ) =x(t)+c ;
+end
+inputshift = x (T - t0)+c
+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
+
|