diff options
Diffstat (limited to '2219/CH6/EX6.15/Ex6_15.sce')
-rwxr-xr-x | 2219/CH6/EX6.15/Ex6_15.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2219/CH6/EX6.15/Ex6_15.sce b/2219/CH6/EX6.15/Ex6_15.sce new file mode 100755 index 000000000..30efbd5e9 --- /dev/null +++ b/2219/CH6/EX6.15/Ex6_15.sce @@ -0,0 +1,17 @@ +// Chapter 6 example 15
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+f2 = 20; // pump frequency in GHz
+f1 = 2; // signal frequency in GHz
+
+// Calculations
+Gp = (f1+f2)/f1; // power gain if parametric amp. operated as USB up-converter
+Gp_dB = 10*log10(Gp); // power gain in dB
+Gp_lsb = (f2-f1)/f1; // power gain if parametric amp. operated as LSB up-converter
+Gp_db_lsb = 10*log10(Gp_lsb )// power gain in dB
+
+// output
+mprintf('Power gain of parametric amplifier when operated as USB up-converter = %3.1f dB\n Power gain of parametric amplifier when operated as LSB up-converter = %3.1f dB',Gp_dB,Gp_db_lsb)
+//------------------------------------------------------------------------------
|