diff options
Diffstat (limited to '752/CH18')
-rwxr-xr-x | 752/CH18/EX18.2.1/18_2_1.sce | 9 | ||||
-rwxr-xr-x | 752/CH18/EX18.2.2/18_2_2.sce | 18 | ||||
-rwxr-xr-x | 752/CH18/EX18.3.1/18_3_1.sce | 14 | ||||
-rwxr-xr-x | 752/CH18/EX18.3.2/18_3_2.sce | 13 | ||||
-rwxr-xr-x | 752/CH18/EX18.3.3/18_3_3.sce | 9 | ||||
-rwxr-xr-x | 752/CH18/EX18.7.1/18_7_1.sce | 14 | ||||
-rwxr-xr-x | 752/CH18/EX18.7.2/18_7_2.sce | 13 |
7 files changed, 90 insertions, 0 deletions
diff --git a/752/CH18/EX18.2.1/18_2_1.sce b/752/CH18/EX18.2.1/18_2_1.sce new file mode 100755 index 000000000..ef64b0e9e --- /dev/null +++ b/752/CH18/EX18.2.1/18_2_1.sce @@ -0,0 +1,9 @@ +clc;
+// page no 671
+// prob no 18_2_1
+//A drum of facsimile machine with diameter=70.4mm & scanning pitch=0.2mm/scan
+D=70.4;P=0.2;
+//Determination of index of co-operation
+IOC_CCITT=D/P;
+IOC_IEEE=IOC_CCITT*(%pi);
+disp(IOC_IEEE,'The index of co-operation is');
\ No newline at end of file diff --git a/752/CH18/EX18.2.2/18_2_2.sce b/752/CH18/EX18.2.2/18_2_2.sce new file mode 100755 index 000000000..8bb8d7a4e --- /dev/null +++ b/752/CH18/EX18.2.2/18_2_2.sce @@ -0,0 +1,18 @@ +clc;
+// page no 676
+// prob no 18_2_2
+//A drum scanner in eg.18.2.1 with pitch=0.26mm/line & diameter=68.4mm & drum rotate at 120rpm & scans lines=1075
+D=68.4;P=0.26;rpm=120;n=1075;
+//Determination of no. of pixels scan
+Npx=(%pi)*(D/P);
+disp('pixels/line',Npx,'The no. of pixels in scan line is');
+//Determination of scan rate
+Rs=rpm/60;
+disp('lines/sec',Rs,'The scan rate is');
+//Determination of pixel rate is
+Rpx=Npx*Rs;
+disp('pixels/sec',Rpx,'The pixel rate is');
+f_max=Rpx/2;
+//Determination of document Tx time
+td=n/(60*Rs);
+disp('min',td,'The document Transmission time is');
\ No newline at end of file diff --git a/752/CH18/EX18.3.1/18_3_1.sce b/752/CH18/EX18.3.1/18_3_1.sce new file mode 100755 index 000000000..03dfc4d47 --- /dev/null +++ b/752/CH18/EX18.3.1/18_3_1.sce @@ -0,0 +1,14 @@ +clc;
+//page no 693
+//prob no. 18.3.1
+a=(4/3);//aspect ratio
+N=525;//no. of line periods per frame
+Ns=40;//no. of suppressed lines
+//Determination of no. of pixel periods in line period
+Nv=N-Ns;
+disp('lines',Nv,'The no. of pixel periods in line period is ');
+//Determination of picture height and width
+Nh=a*Nv;
+disp('pixels',Nh,'The picture height is');
+Nl=(Nh/0.835);
+disp('pixels',Nl,'The picture length is');
\ No newline at end of file diff --git a/752/CH18/EX18.3.2/18_3_2.sce b/752/CH18/EX18.3.2/18_3_2.sce new file mode 100755 index 000000000..63a447b15 --- /dev/null +++ b/752/CH18/EX18.3.2/18_3_2.sce @@ -0,0 +1,13 @@ +clc;
+//page no 694
+//prob no. 18.3.2
+//A TV system with
+N=525;P=30;
+//Determination of horizontal and vertical synchhronization freq.
+fh=N*P;
+disp('Hz',fh,'the horizontal freq. is ');
+fv=2*P;
+disp('Hz',fv,'the vertical freq. is ');
+//Determination of time reqd to scan one line
+Th=(1/fh);
+disp('sec',Th,'the time reqd to scan one line is ');
diff --git a/752/CH18/EX18.3.3/18_3_3.sce b/752/CH18/EX18.3.3/18_3_3.sce new file mode 100755 index 000000000..ed231c8c8 --- /dev/null +++ b/752/CH18/EX18.3.3/18_3_3.sce @@ -0,0 +1,9 @@ +clc;
+//page no 695
+//prob no. 18.3.3
+//U.S. NTSC is given
+//refer example 18.3.2
+fh=15750;Nl=775;
+//Determination of video bandwidth
+Bv=0.35*fh*Nl;
+disp('Hz',Bv,'the band width is');
diff --git a/752/CH18/EX18.7.1/18_7_1.sce b/752/CH18/EX18.7.1/18_7_1.sce new file mode 100755 index 000000000..211e24439 --- /dev/null +++ b/752/CH18/EX18.7.1/18_7_1.sce @@ -0,0 +1,14 @@ +clc;
+//page no 706
+//prob no. 18.7.1
+//refer example 18.3.1
+a=4/3;//aspect ratio
+D=48.26*10^-2;//CRT tube diagonal
+Nh=647;
+H=sqrt((a^2)*(D^2)/(1+a^2));
+//Determination of viewing angle & minimum dist.
+w=H/Nh;
+theta=Nh*(1/60);//As each pixel subtend 1 minute of arc
+disp('degree',theta,'The viewing angle is');
+X=H/(2*tand(theta/2));
+disp('m',X,'The min. viewing dist is');
\ No newline at end of file diff --git a/752/CH18/EX18.7.2/18_7_2.sce b/752/CH18/EX18.7.2/18_7_2.sce new file mode 100755 index 000000000..a0f54343a --- /dev/null +++ b/752/CH18/EX18.7.2/18_7_2.sce @@ -0,0 +1,13 @@ +clc;
+//page no 707
+//prob no. 18.7.2
+//HDTV system is given
+//Refer example 18.7.1
+a=16/9;D=1.40;Nh=1840;//Assuming square pixel
+H=sqrt((a^2)*(D^2)/(1+a^2));
+//Determination of viewing angle
+theta=Nh*(1/60);
+disp('degree',theta,'The viewing angle is');
+//Determination of viewing dist
+X=H/(2*tand(theta/2));
+disp('m',X,'The viewing dist is');
\ No newline at end of file |