diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /62/CH1/EX1.41 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '62/CH1/EX1.41')
-rwxr-xr-x | 62/CH1/EX1.41/ex_1_41.sce | 23 | ||||
-rwxr-xr-x | 62/CH1/EX1.41/ex_1_41_1.png | bin | 0 -> 14993 bytes | |||
-rwxr-xr-x | 62/CH1/EX1.41/ex_1_41_2.png | bin | 0 -> 15393 bytes |
3 files changed, 23 insertions, 0 deletions
diff --git a/62/CH1/EX1.41/ex_1_41.sce b/62/CH1/EX1.41/ex_1_41.sce new file mode 100755 index 000000000..461143d80 --- /dev/null +++ b/62/CH1/EX1.41/ex_1_41.sce @@ -0,0 +1,23 @@ +clear;
+close;
+clc;
+n=-2:4;
+x1=[0 0 0 0 2 0 0];
+y1=[0 0 0 0 1 2 0];
+x2=[0 1 0 0 0 0 0];
+y2=[0 2 1 0 0 0 0];
+x3=[0 0 0 1 2 0 0];
+y3=[0 0 0 2 3 1 0];
+subplot(3,2,1);plot2d3(n,x1);plot(n,x1,'r.');xtitle('x1')
+subplot(3,2,2);plot2d3(n,y1);plot(n,y1,'r.');xtitle('y1')
+subplot(3,2,3);plot2d3(n,x2);plot(n,x2,'r.');xtitle('x2')
+subplot(3,2,4);plot2d3(n,y2);plot(n,y2,'r.');xtitle('y2')
+subplot(3,2,5);plot2d3(n,x3);plot(n,x3,'r.');xtitle('x3')
+subplot(3,2,6);plot2d3(n,y3);plot(n,y3,'r.');xtitle('y3')
+disp("it can be seen that x3[n]=x1[n]+x2[n-2] therefore for linear system y3[n]=y1[n]+y2[n-2]")
+figure
+subplot(4,1,1);plot2d3(n,y1);plot(n,y1,'r.');xtitle('y1')
+subplot(4,1,2);plot2d3(n+2,y2);plot(n+2,y2,'r.');xtitle('y2[n-2]')
+subplot(4,1,3);plot2d3(n,y1+[0 0 y2(1:find(n+2==4))]);plot(n,y1+[0 0 y2(1:find(n+2==4))],'r.');xtitle('y1[n]+y2[n-2]')
+subplot(4,1,4);plot2d3(n,y3);plot(n,y3,'r.');xtitle('y3[n]')
+disp("from the figure y3[n]<>y1[n]+y2[n-2] therefore the system is not linear")
diff --git a/62/CH1/EX1.41/ex_1_41_1.png b/62/CH1/EX1.41/ex_1_41_1.png Binary files differnew file mode 100755 index 000000000..f3b6b4243 --- /dev/null +++ b/62/CH1/EX1.41/ex_1_41_1.png diff --git a/62/CH1/EX1.41/ex_1_41_2.png b/62/CH1/EX1.41/ex_1_41_2.png Binary files differnew file mode 100755 index 000000000..eef9e877e --- /dev/null +++ b/62/CH1/EX1.41/ex_1_41_2.png |