diff options
Diffstat (limited to '67/CH1/EX1.18.b')
-rwxr-xr-x | 67/CH1/EX1.18.b/example118b.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/67/CH1/EX1.18.b/example118b.sce b/67/CH1/EX1.18.b/example118b.sce new file mode 100755 index 000000000..fad9bee4c --- /dev/null +++ b/67/CH1/EX1.18.b/example118b.sce @@ -0,0 +1,15 @@ +//Example 1.18b
+clc;
+t0=2;
+T=10;
+for t=1:T
+ x(t)=t;
+ y(t)=t*x(t);
+end
+inputshift=x(T-t0);
+outputshift=y(T-t0);
+if(inputshift==outputshift)
+ disp('THE GIVEN SYSTEM IS TIME INVARIANT')
+else
+ disp('THE GIVEN SYSTEM IS TIME VARIANT');
+end
\ No newline at end of file |