summaryrefslogtreecommitdiff
path: root/macros/gfrepcov.sci
diff options
context:
space:
mode:
authorrupak2020-01-21 19:05:09 +0530
committerrupak2020-01-21 19:05:09 +0530
commitd2f4d30ebcad7430e4f0495cae5c2b3a16be73ce (patch)
tree8987d169ad87e930f137122a450c02dc5d13dcc5 /macros/gfrepcov.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/gfrepcov.sci')
-rw-r--r--macros/gfrepcov.sci15
1 files changed, 6 insertions, 9 deletions
diff --git a/macros/gfrepcov.sci b/macros/gfrepcov.sci
index 6e16717..35a9cb6 100644
--- a/macros/gfrepcov.sci
+++ b/macros/gfrepcov.sci
@@ -1,28 +1,25 @@
function q = gfrepcov(p)
// This function represents a binary polynomial in standard ascending order format.
-
+//
// Calling Sequence
// Q = GFREPCOV(P)
-
+//
// Description
// Q = GFREPCOV(P) converts vector (P) to standard ascending
// order format vector (Q), which is a vector that lists the coefficients in
// order of ascending exponents, if P represents a binary polynomial
// as a vector of exponents with non-zero coefficients.
-
+//
// Examples
// The matrix below represents the binary polynomial $1 + s + s^2 + s^4$
// Implies output vector should be [1 1 1 0 1]
// A=[0 1 2 4 ]
// B=gfrepcov(A)
// disp(B)
-// Also try A=[1 2 3 4 4] which is incorrect way of representing binary polynomial
-
-// See also
-// gfpretty
-
+//
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//