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 /1997/CH2 | |
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 '1997/CH2')
-rwxr-xr-x | 1997/CH2/EX2.1/example1.sce | 13 | ||||
-rwxr-xr-x | 1997/CH2/EX2.2/example2.sce | 18 | ||||
-rwxr-xr-x | 1997/CH2/EX2.3/example3.sce | 15 | ||||
-rwxr-xr-x | 1997/CH2/EX2.4/example4.sce | 12 | ||||
-rwxr-xr-x | 1997/CH2/EX2.5/example5.sce | 14 | ||||
-rwxr-xr-x | 1997/CH2/EX2.6/example6.sce | 12 | ||||
-rwxr-xr-x | 1997/CH2/EX2.7/example7.sce | 10 | ||||
-rwxr-xr-x | 1997/CH2/EX2.8/example8.sce | 21 | ||||
-rwxr-xr-x | 1997/CH2/EX2.9/example9.sce | 16 |
9 files changed, 131 insertions, 0 deletions
diff --git a/1997/CH2/EX2.1/example1.sce b/1997/CH2/EX2.1/example1.sce new file mode 100755 index 000000000..e3d40089d --- /dev/null +++ b/1997/CH2/EX2.1/example1.sce @@ -0,0 +1,13 @@ +//Chapter-2 example 2.1
+//=============================================================================
+clc;
+clear;
+Tdelay=200*10^-6; //time delay in sec
+Vo=3*10^8; //velocity in m/s
+//Calculations
+R=(Vo*Tdelay)/2; //Range of the target in kms
+
+
+//Output
+mprintf('Range of the target is %3.1f Kms',R/1000);
+//=============================================================================
diff --git a/1997/CH2/EX2.2/example2.sce b/1997/CH2/EX2.2/example2.sce new file mode 100755 index 000000000..29e6da81b --- /dev/null +++ b/1997/CH2/EX2.2/example2.sce @@ -0,0 +1,18 @@ +//Chapter-2 example 2.2
+//=============================================================================
+clc;
+clear;
+Pt=5000; //Peak tx power in watts
+Pav=1000; //Average Power
+PRF1 = 10; //Pulse repetition frequency in khz
+PRF2 = 20; //Pulse repetition frequency in khz
+//Calculations
+D=Pav/Pt;//Duty cycle
+PRI1=1/PRF1; //Pulse repetitive interval in msec
+PRI2=1/PRF2; //Pulse repetitive interval in msec
+PW1=D*PRI1; //Pulse Width in msec
+PW2=D*PRI2; //Pulse Width in msec
+PE1=Pt*PW1; //Pulse Energy in joules
+PE2=Pt*PW2; //Pulse Energy in joules
+//Output
+mprintf('Duty cycle is %3.2f \n pulse repetition interval 1 is %3.2f msec\n pulse repetition interval 2 is %3.2f msec\n Pulse Width1 is %3.2f usec\n Pulse Width2 is %3.2f usec\n Pulse Energy1 is %3.2f J \n Pulse Energy2 is %3.2f J',D,PRI1,PRI2,PW1*1000,PW2*1000,PE1/1000,PE2/1000);
diff --git a/1997/CH2/EX2.3/example3.sce b/1997/CH2/EX2.3/example3.sce new file mode 100755 index 000000000..f83e59e14 --- /dev/null +++ b/1997/CH2/EX2.3/example3.sce @@ -0,0 +1,15 @@ +//Chapter-2 example 2.3
+//=============================================================================
+clc;
+clear;
+UR=200;//unambiguous range in kms
+BW=1*10^6;//bandwidth in hz
+V0=3*10^8;//velocity in m/s
+//Calculations
+PRF=V0/(2*UR*10^3);//pulse repetition frequency in hz
+PRI=1/PRF;//pulse repetition interval in sec
+RR=V0/(2*BW);//Range Resolution in mts
+PW=(2*RR)/(V0);//pulse width
+//Calculations
+mprintf('pulse repetition frequency is %3.2f Hz\n pulse repetition interval is %3.2f msec\n Range Resolution is %3.2f m\n pulse width is %3.1fusec',PRF,PRI*1000,RR,PW*10^6);
+
diff --git a/1997/CH2/EX2.4/example4.sce b/1997/CH2/EX2.4/example4.sce new file mode 100755 index 000000000..c9a466644 --- /dev/null +++ b/1997/CH2/EX2.4/example4.sce @@ -0,0 +1,12 @@ +//Chapter-2 example 2.4
+//=============================================================================
+clc;
+clear;
+Pt=50000;//peal power in watts
+PRF=1000;//pulse repetitive frequency in hz
+PW=0.8;//pulse width in usec
+//Calculations
+D=PW*PRF*10^-6;//duty cycle
+Pav=Pt*D;//average power
+//output
+mprintf('Duty cycle is %g\n Average power is %g Watts',D,Pav);
diff --git a/1997/CH2/EX2.5/example5.sce b/1997/CH2/EX2.5/example5.sce new file mode 100755 index 000000000..1c5a1e722 --- /dev/null +++ b/1997/CH2/EX2.5/example5.sce @@ -0,0 +1,14 @@ +//Chapter-2 example 2.5
+//=============================================================================
+clc;
+clear;
+Vo=3*10^8;//velocity in m/s
+Pt=1*10^6;//peak power in watts
+PW=1.2*10^-6;//pulse width in sec
+PRI=1*10^-3;//pulse repetition interval in sec
+//Calculations
+PRF=1/PRI;//pulse repetition frequency in hz
+Pav=Pt*PW*PRF;//average power in watts
+D=Pav/Pt;//Duty cycle;
+Rmax=Vo/(2*PRF);//maximum range of the radar in m
+mprintf('pulse repetition frequency is %g KHz\n average power is %g KW\n Duty cycle = %e\n maximum range of the radar is %g Km',PRF/1000,Pav/1000,D,Rmax/1000 );
diff --git a/1997/CH2/EX2.6/example6.sce b/1997/CH2/EX2.6/example6.sce new file mode 100755 index 000000000..89793b6ad --- /dev/null +++ b/1997/CH2/EX2.6/example6.sce @@ -0,0 +1,12 @@ +//Chapter-2 example 2.6
+//=============================================================================
+clc;
+clear;
+PW = 2*10^-6; //pulse width in sec
+PRF=800; //pulse repetition frequency in KHz
+V0=3*10^8; //velocity in m/s
+//Calculations
+Ru=V0/(2*PRF); //unambigious range in mts
+RR=(V0*PW)/2; //Range resolution in m
+//output
+mprintf('unambigious range is %g Km\n Range resolution is %g m',Ru/1000,RR);
diff --git a/1997/CH2/EX2.7/example7.sce b/1997/CH2/EX2.7/example7.sce new file mode 100755 index 000000000..11b2b9755 --- /dev/null +++ b/1997/CH2/EX2.7/example7.sce @@ -0,0 +1,10 @@ +//Chapter-2 example 2.7
+//=============================================================================
+clc;
+clear;
+Rmax=500;//maximum range in kms
+V0=3*10^8;//velocity in m/s;
+//calculations
+PRF=(V0/(2*Rmax*10^3));//pulse repetitive frequency in Hz
+//output
+mprintf('pulse repetitive frequency is %g Hz',PRF);
diff --git a/1997/CH2/EX2.8/example8.sce b/1997/CH2/EX2.8/example8.sce new file mode 100755 index 000000000..9c6afe9a1 --- /dev/null +++ b/1997/CH2/EX2.8/example8.sce @@ -0,0 +1,21 @@ +//Chapter-2 example 8
+//=============================================================================
+clc;
+clear;
+//input data
+F = 9; //Noise figure in dB
+BW = 3*10^6; // Bandwidth
+To = 290; // Temperature in kelvin
+K = 1.38*10^-23; // Boltzman constant
+
+//Calculations
+
+F1 = 10^(F/10) //antilog calculation
+Pmin = (K*To*BW)*(F1-1);//minimum receivable power
+
+//Output
+mprintf('Minimum receivable power Pmin = %3.4f pW',Pmin*10^12);
+mprintf('\n Calculation error at Pmin in textbook');
+
+
+//==============================================================================
diff --git a/1997/CH2/EX2.9/example9.sce b/1997/CH2/EX2.9/example9.sce new file mode 100755 index 000000000..23279db50 --- /dev/null +++ b/1997/CH2/EX2.9/example9.sce @@ -0,0 +1,16 @@ +//Chapter-2 example 2.9
+//=============================================================================
+clc;
+clear;
+Pt=500000;//peal power in watts
+F=10*10^9;//operating frequency in hz
+MRP=0.1*10^-12;//minimum receivable power in pico watts
+Ac=5;//capture area of antenna in m^2;
+RCS=20;//radar cross sectional area in m^2;
+Vo=3*10^8//velocity in m/s
+// calculations
+lamda =Vo/F
+Rmax=((Pt*Ac*Ac*RCS)/(4*%pi*lamda*lamda*MRP))^0.25
+
+//output
+mprintf('Maximum Radar Range is %3.1f kms',Rmax/1000);
|