summaryrefslogtreecommitdiff
path: root/67/CH1/EX1.18.b
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /67/CH1/EX1.18.b
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '67/CH1/EX1.18.b')
-rwxr-xr-x67/CH1/EX1.18.b/example118b.sce15
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