diff options
Diffstat (limited to '22/CH2')
-rwxr-xr-x | 22/CH2/EX2.5/ch2ex5b.jpg | bin | 0 -> 17716 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.5/ch2ex5c.jpg | bin | 0 -> 16267 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.5/que2_5.sce | 29 | ||||
-rwxr-xr-x | 22/CH2/EX2.6/ch2ex6b.jpg | bin | 0 -> 16249 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.6/ch2ex6c.jpg | bin | 0 -> 17871 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.6/que2_6.sce | 29 | ||||
-rwxr-xr-x | 22/CH2/EX2.7/ch2ex7.sce | 30 | ||||
-rwxr-xr-x | 22/CH2/EX2.7/ch2ex7b.jpg | bin | 0 -> 19665 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.7/ch2ex7c.jpg | bin | 0 -> 18723 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.8/ch2ex8b.jpg | bin | 0 -> 16096 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.8/ch2ex8c.jpg | bin | 0 -> 17819 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.8/que2_8.sce | 34 | ||||
-rwxr-xr-x | 22/CH2/EX2.9/ch2ex9b.jpg | bin | 0 -> 18671 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.9/ch2ex9c.jpg | bin | 0 -> 21445 bytes | |||
-rwxr-xr-x | 22/CH2/EX2.9/que2_9.sce | 35 |
15 files changed, 157 insertions, 0 deletions
diff --git a/22/CH2/EX2.5/ch2ex5b.jpg b/22/CH2/EX2.5/ch2ex5b.jpg Binary files differnew file mode 100755 index 000000000..137e91516 --- /dev/null +++ b/22/CH2/EX2.5/ch2ex5b.jpg diff --git a/22/CH2/EX2.5/ch2ex5c.jpg b/22/CH2/EX2.5/ch2ex5c.jpg Binary files differnew file mode 100755 index 000000000..af4bef4e0 --- /dev/null +++ b/22/CH2/EX2.5/ch2ex5c.jpg 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 Binary files differnew file mode 100755 index 000000000..55e64e3ec --- /dev/null +++ b/22/CH2/EX2.6/ch2ex6b.jpg diff --git a/22/CH2/EX2.6/ch2ex6c.jpg b/22/CH2/EX2.6/ch2ex6c.jpg Binary files differnew file mode 100755 index 000000000..8524ea425 --- /dev/null +++ b/22/CH2/EX2.6/ch2ex6c.jpg 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 Binary files differnew file mode 100755 index 000000000..c4d581343 --- /dev/null +++ b/22/CH2/EX2.7/ch2ex7b.jpg diff --git a/22/CH2/EX2.7/ch2ex7c.jpg b/22/CH2/EX2.7/ch2ex7c.jpg Binary files differnew file mode 100755 index 000000000..d2f0528e1 --- /dev/null +++ b/22/CH2/EX2.7/ch2ex7c.jpg diff --git a/22/CH2/EX2.8/ch2ex8b.jpg b/22/CH2/EX2.8/ch2ex8b.jpg Binary files differnew file mode 100755 index 000000000..6e6ad5eff --- /dev/null +++ b/22/CH2/EX2.8/ch2ex8b.jpg diff --git a/22/CH2/EX2.8/ch2ex8c.jpg b/22/CH2/EX2.8/ch2ex8c.jpg Binary files differnew file mode 100755 index 000000000..c72f3150a --- /dev/null +++ b/22/CH2/EX2.8/ch2ex8c.jpg 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 Binary files differnew file mode 100755 index 000000000..370335fca --- /dev/null +++ b/22/CH2/EX2.9/ch2ex9b.jpg diff --git a/22/CH2/EX2.9/ch2ex9c.jpg b/22/CH2/EX2.9/ch2ex9c.jpg Binary files differnew file mode 100755 index 000000000..6baab0404 --- /dev/null +++ b/22/CH2/EX2.9/ch2ex9c.jpg 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 |