summaryrefslogtreecommitdiff
path: root/67/CH1/EX1.18.a
diff options
context:
space:
mode:
Diffstat (limited to '67/CH1/EX1.18.a')
-rwxr-xr-x67/CH1/EX1.18.a/example118a.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/67/CH1/EX1.18.a/example118a.sce b/67/CH1/EX1.18.a/example118a.sce
new file mode 100755
index 000000000..3c487489a
--- /dev/null
+++ b/67/CH1/EX1.18.a/example118a.sce
@@ -0,0 +1,15 @@
+//Example 1.18a
+clc;
+t0=1;
+T=10;
+for t=1:T
+ x(t)=2*%pi*t/T;
+ y(t)=sin(x(t));
+end
+inputshift=sin(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