summaryrefslogtreecommitdiff
path: root/728/CH9/EX9.3/Ex9_3.txt
diff options
context:
space:
mode:
Diffstat (limited to '728/CH9/EX9.3/Ex9_3.txt')
-rwxr-xr-x728/CH9/EX9.3/Ex9_3.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/728/CH9/EX9.3/Ex9_3.txt b/728/CH9/EX9.3/Ex9_3.txt
new file mode 100755
index 000000000..89c25e195
--- /dev/null
+++ b/728/CH9/EX9.3/Ex9_3.txt
@@ -0,0 +1,13 @@
+//Caption:Calculate (i)-power gain in dB ,(ii)-power gain if it is USB converter.
+//Exa:9.3
+clc;
+clear;
+close;
+f_s=2*10^9;//in Hz
+f_p=12*10^9;//in Hz
+R_i=16;
+R_s=1000;
+A_p=10*log((f_p-f_s)/f_s);
+A_p_usb=10*log((f_p+f_s)/f_s);
+disp(log(10),'Power gain (in dB) =');
+disp(A_p_usb,'Power gain as USB converter (in dB) ='); \ No newline at end of file