diff options
Diffstat (limited to '1997/CH11/EX11.61/example61.sce')
-rwxr-xr-x | 1997/CH11/EX11.61/example61.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/1997/CH11/EX11.61/example61.sce b/1997/CH11/EX11.61/example61.sce new file mode 100755 index 000000000..6d864b0d8 --- /dev/null +++ b/1997/CH11/EX11.61/example61.sce @@ -0,0 +1,31 @@ +//Chapter-11 example 60
+//=============================================================================
+clc;
+clear;
+//Given data
+PRF1 = 10*10^3; //pulse repetitive freq.1
+PRF2 = 20*10^3; //pulse repetitive freq.2
+Pav = 1000; // average tx. power
+Pt = 10*10^3; // peak power
+
+//Calculations
+PRT1 = 1/PRF1; // pulse repetitive interval in sec
+PRT2 = 1/PRF2; // pulse repetitive interval in sec
+DC = Pav/Pt; // duty cycle
+PW1 = DC*PRT1 // pulse width for freq1
+PW2 = DC*PRT2 // pulse width for freq2
+E1 = Pt*PW1; // energy of first pulse
+E2 = Pt*PW2; // energy of second pulse
+
+//output
+mprintf('PW1 = %3.2f ms\n PW2 = %3.3f ms\n Pulse Energy for PRF = 10KHz is %3.1f Joules\n Pulse Energy for PRF = 20KHz is %3.2f Joules\n',PW1*1000,PW2*1000,E1,E2 );
+//==============================================================================
+
+
+
+
+
+
+
+
+
|