From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3547/CH5/EX5.8/Ex5_8.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 3547/CH5/EX5.8/Ex5_8.sce (limited to '3547/CH5/EX5.8/Ex5_8.sce') diff --git a/3547/CH5/EX5.8/Ex5_8.sce b/3547/CH5/EX5.8/Ex5_8.sce new file mode 100644 index 000000000..1e0478f4b --- /dev/null +++ b/3547/CH5/EX5.8/Ex5_8.sce @@ -0,0 +1,19 @@ +// Example no.5.8 +// To find the in-phase and quadrature components of the current of a balanced IQ receiver. +// Page no.238 + +clc; +clear; + +// Given data +PLO=10; // Local oscillator power in mW from Example 5.7a +Pr=0.1585; // Power at receiver in mW +R=0.9; // Responsivity in A/W +st=complex((-1/sqrt(2)),(1/sqrt(2))); // The QPSK transmitted signal +Ii=R*sqrt(Pr*PLO)*real(st); // The in-phase component of the current in mA +Iq=-R*sqrt(Pr*PLO)*imag(st); // The quadrature component of the current in mA + +// Display result on command window +printf('\n The in-phase component of the current = %0.4f mA',Ii) +printf('\n The quadrature component of the current = %0.4f mA',Iq) + -- cgit