summaryrefslogtreecommitdiff
path: root/macros/iqimbal2coef.sci
diff options
context:
space:
mode:
authorrupak2020-01-21 19:05:09 +0530
committerrupak2020-01-21 19:05:09 +0530
commitd2f4d30ebcad7430e4f0495cae5c2b3a16be73ce (patch)
tree8987d169ad87e930f137122a450c02dc5d13dcc5 /macros/iqimbal2coef.sci
parent36aca8aaaee5cf8cb5452268fd07c0b558b000a3 (diff)
downloadFOSSEE-Communication-Systems-Toolbox-master.tar.gz
FOSSEE-Communication-Systems-Toolbox-master.tar.bz2
FOSSEE-Communication-Systems-Toolbox-master.zip
added help filesHEADmaster
Diffstat (limited to 'macros/iqimbal2coef.sci')
-rw-r--r--macros/iqimbal2coef.sci16
1 files changed, 5 insertions, 11 deletions
diff --git a/macros/iqimbal2coef.sci b/macros/iqimbal2coef.sci
index 0849478..c8a8645 100644
--- a/macros/iqimbal2coef.sci
+++ b/macros/iqimbal2coef.sci
@@ -1,31 +1,25 @@
function Comp_Coef = iqimbal2coef(Amp_Imb_dB, Ph_Imb_Deg)
// This function returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.
-
+//
// Calling Sequence
// COMP_COEF = IQIMBAL2COEF(AMP_IMB_DB, PH_IMB_DEG)
-
+//
// Description
// COMP_COEF = IQIMBAL2COEF(AMP_IMB_DB, PH_IMB_DEG) returns the I/Q imbalance
// compensator coefficient for given amplitude and phase imbalance.
// Comp_Coef is a scalar or a vector of complex numbers.
// AMP_IMB_DB and PH_IMB_DEG are the amplitude imbalance in dB
// and the phase imbalance in degrees and should be of same size.
-
+//
// Examples
// [a_imb_db,ph_imb_deg] = iqcoef2imbal([4 2 complex(-0.1145,0.1297) complex(-0.0013,0.0029)])
// disp(a_imb_db,'amplitude imbalance in dB =')
// disp(ph_imb_deg,'phase imbalance in degrees=')
// Comp_Coef = iqimbal2coef(a_imb_db, ph_imb_deg)
// disp(Comp_Coef,'Compensator Coefficients=')
-
-// Bibliography
-// http://in.mathworks.com/help/comm/ref/iqimbal2coef.html
-
-// See also
-// iqcoef2imbal
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//