summaryrefslogtreecommitdiff
path: root/22/CH2
diff options
context:
space:
mode:
Diffstat (limited to '22/CH2')
-rwxr-xr-x22/CH2/EX2.5/ch2ex5b.jpgbin0 -> 17716 bytes
-rwxr-xr-x22/CH2/EX2.5/ch2ex5c.jpgbin0 -> 16267 bytes
-rwxr-xr-x22/CH2/EX2.5/que2_5.sce29
-rwxr-xr-x22/CH2/EX2.6/ch2ex6b.jpgbin0 -> 16249 bytes
-rwxr-xr-x22/CH2/EX2.6/ch2ex6c.jpgbin0 -> 17871 bytes
-rwxr-xr-x22/CH2/EX2.6/que2_6.sce29
-rwxr-xr-x22/CH2/EX2.7/ch2ex7.sce30
-rwxr-xr-x22/CH2/EX2.7/ch2ex7b.jpgbin0 -> 19665 bytes
-rwxr-xr-x22/CH2/EX2.7/ch2ex7c.jpgbin0 -> 18723 bytes
-rwxr-xr-x22/CH2/EX2.8/ch2ex8b.jpgbin0 -> 16096 bytes
-rwxr-xr-x22/CH2/EX2.8/ch2ex8c.jpgbin0 -> 17819 bytes
-rwxr-xr-x22/CH2/EX2.8/que2_8.sce34
-rwxr-xr-x22/CH2/EX2.9/ch2ex9b.jpgbin0 -> 18671 bytes
-rwxr-xr-x22/CH2/EX2.9/ch2ex9c.jpgbin0 -> 21445 bytes
-rwxr-xr-x22/CH2/EX2.9/que2_9.sce35
15 files changed, 157 insertions, 0 deletions
diff --git a/22/CH2/EX2.5/ch2ex5b.jpg b/22/CH2/EX2.5/ch2ex5b.jpg
new file mode 100755
index 000000000..137e91516
--- /dev/null
+++ b/22/CH2/EX2.5/ch2ex5b.jpg
Binary files differ
diff --git a/22/CH2/EX2.5/ch2ex5c.jpg b/22/CH2/EX2.5/ch2ex5c.jpg
new file mode 100755
index 000000000..af4bef4e0
--- /dev/null
+++ b/22/CH2/EX2.5/ch2ex5c.jpg
Binary files differ
diff --git a/22/CH2/EX2.5/que2_5.sce b/22/CH2/EX2.5/que2_5.sce
new file mode 100755
index 000000000..684bce501
--- /dev/null
+++ b/22/CH2/EX2.5/que2_5.sce
@@ -0,0 +1,29 @@
+//time domain analysis of continuous time systems
+//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =(e^-2*t)u(t)
+clear;
+close;
+clc;
+Max_Limit = 10;
+t = 0:0.001:10;
+for i=1:length(t)
+ g(i) =(exp(-2*t(i)));
+end
+ x= exp(-(t));
+
+y = convol(x,g)
+figure
+a=gca();
+plot2d(t,g)
+xtitle('Impulse Response','t','h(t)');
+a.thickness = 2;
+figure
+a=gca();
+plot2d(t,x)
+xtitle('Input Response','t','x(t)');
+a.thickness = 2;
+figure
+a=gca();
+T=0:0.001:20;
+plot2d(T,y)
+xtitle('Output Response','t','y(t)');
+a.thickness = 2; \ No newline at end of file
diff --git a/22/CH2/EX2.6/ch2ex6b.jpg b/22/CH2/EX2.6/ch2ex6b.jpg
new file mode 100755
index 000000000..55e64e3ec
--- /dev/null
+++ b/22/CH2/EX2.6/ch2ex6b.jpg
Binary files differ
diff --git a/22/CH2/EX2.6/ch2ex6c.jpg b/22/CH2/EX2.6/ch2ex6c.jpg
new file mode 100755
index 000000000..8524ea425
--- /dev/null
+++ b/22/CH2/EX2.6/ch2ex6c.jpg
Binary files differ
diff --git a/22/CH2/EX2.6/que2_6.sce b/22/CH2/EX2.6/que2_6.sce
new file mode 100755
index 000000000..f39a22928
--- /dev/null
+++ b/22/CH2/EX2.6/que2_6.sce
@@ -0,0 +1,29 @@
+//time domain analysis of continuous time systems
+//Convolution Integral of input x(t) = (e^-3t).u(t)and h(t) =(2*e^-2*t-e^-t)u(t)
+clear;
+close;
+clc;
+Max_Limit = 10;
+t = 0:0.001:10;
+for i=1:length(t)
+ g(i) =(2*exp(-2*t(i))-exp(-t(i)));
+end
+ x= exp(-3*(t));
+
+y = convol(x,g)
+figure
+a=gca();
+plot2d(t,g)
+xtitle('Impulse Response','t','h(t)');
+a.thickness = 2;
+figure
+a=gca();
+plot2d(t,x)
+xtitle('Input Response','t','x(t)');
+a.thickness = 2;
+figure
+a=gca();
+T=0:0.001:20;
+plot2d(T,y)
+xtitle('Output Response','t','y(t)');
+a.thickness = 2; \ No newline at end of file
diff --git a/22/CH2/EX2.7/ch2ex7.sce b/22/CH2/EX2.7/ch2ex7.sce
new file mode 100755
index 000000000..025d58136
--- /dev/null
+++ b/22/CH2/EX2.7/ch2ex7.sce
@@ -0,0 +1,30 @@
+//time domain analysis of continuous time systems
+//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =u(t)
+clear;
+close;
+clc;
+Max_Limit = 10;
+t = -10:0.001:10;
+for i=1:length(t)
+
+ g(i)=exp(-t(i));
+ x(i)=exp(-2*t(i));
+end
+
+y = convol(x,g)
+figure
+a=gca();
+plot2d(t,g)
+xtitle('Impulse Response','t','h(t)');
+a.thickness = 2;
+figure
+a=gca();
+plot2d(t,x)
+xtitle('Input Response','t','x(t)');
+a.thickness = 2;
+figure
+a=gca();
+T=-20:0.001:20;
+plot2d(T,y)
+xtitle('Output Response','t','y(t)');
+a.thickness = 2; \ No newline at end of file
diff --git a/22/CH2/EX2.7/ch2ex7b.jpg b/22/CH2/EX2.7/ch2ex7b.jpg
new file mode 100755
index 000000000..c4d581343
--- /dev/null
+++ b/22/CH2/EX2.7/ch2ex7b.jpg
Binary files differ
diff --git a/22/CH2/EX2.7/ch2ex7c.jpg b/22/CH2/EX2.7/ch2ex7c.jpg
new file mode 100755
index 000000000..d2f0528e1
--- /dev/null
+++ b/22/CH2/EX2.7/ch2ex7c.jpg
Binary files differ
diff --git a/22/CH2/EX2.8/ch2ex8b.jpg b/22/CH2/EX2.8/ch2ex8b.jpg
new file mode 100755
index 000000000..6e6ad5eff
--- /dev/null
+++ b/22/CH2/EX2.8/ch2ex8b.jpg
Binary files differ
diff --git a/22/CH2/EX2.8/ch2ex8c.jpg b/22/CH2/EX2.8/ch2ex8c.jpg
new file mode 100755
index 000000000..c72f3150a
--- /dev/null
+++ b/22/CH2/EX2.8/ch2ex8c.jpg
Binary files differ
diff --git a/22/CH2/EX2.8/que2_8.sce b/22/CH2/EX2.8/que2_8.sce
new file mode 100755
index 000000000..960223f07
--- /dev/null
+++ b/22/CH2/EX2.8/que2_8.sce
@@ -0,0 +1,34 @@
+//time domain analysis of continuous time systems
+//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =u(t)
+clear;
+close;
+clc;
+Max_Limit = 10;
+t = -10:0.001:10;
+for i=1:length(t)
+ if t(i)<0 then
+ g(i)=-2*exp(2*t(i));
+ x(i)=0;
+ else
+ g(i)=2*exp(-t(i));
+ x(i)=1;
+ end
+end
+
+y = convol(x,g)
+figure
+a=gca();
+plot2d(t,g)
+xtitle('Impulse Response','t','h(t)');
+a.thickness = 2;
+figure
+a=gca();
+plot2d(t,x)
+xtitle('Input Response','t','x(t)');
+a.thickness = 2;
+figure
+a=gca();
+T=-20:0.001:20;
+plot2d(T,y)
+xtitle('Output Response','t','y(t)');
+a.thickness = 2; \ No newline at end of file
diff --git a/22/CH2/EX2.9/ch2ex9b.jpg b/22/CH2/EX2.9/ch2ex9b.jpg
new file mode 100755
index 000000000..370335fca
--- /dev/null
+++ b/22/CH2/EX2.9/ch2ex9b.jpg
Binary files differ
diff --git a/22/CH2/EX2.9/ch2ex9c.jpg b/22/CH2/EX2.9/ch2ex9c.jpg
new file mode 100755
index 000000000..6baab0404
--- /dev/null
+++ b/22/CH2/EX2.9/ch2ex9c.jpg
Binary files differ
diff --git a/22/CH2/EX2.9/que2_9.sce b/22/CH2/EX2.9/que2_9.sce
new file mode 100755
index 000000000..0d5f8e3fd
--- /dev/null
+++ b/22/CH2/EX2.9/que2_9.sce
@@ -0,0 +1,35 @@
+//time domain analysis of continuous time systems
+//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =u(t)
+clear;
+close;
+clc;
+Max_Limit = 10;
+t =linspace(-1,1,10001);
+for i=1:length(t)
+ g(i)=1;
+end
+t1=linspace(0,3,10001);
+for i=1:length(t1)
+x(i)= t1(i)/3;
+end
+y = convol(x,g);
+figure
+a=gca();
+size(t)
+size(g)
+plot2d(t,g)
+xtitle('Impulse Response','t','h(t)');
+a.thickness = 2;
+figure
+a=gca();
+size(x)
+plot2d(t1,x)
+xtitle('Input Response','t','x(t)');
+a.thickness = 2;
+figure
+a=gca();
+T=linspace(-1,4,20001);
+size(y)
+plot2d(T,y)
+xtitle('Output Response','t','y(t)');
+a.thickness = 2; \ No newline at end of file