summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builder.sce2
-rw-r--r--help/en_US/addchapter.sce5
-rw-r--r--help/en_US/alignsignals.xml84
-rw-r--r--help/en_US/arithdeco.xml69
-rw-r--r--help/en_US/arithenco.xml46
-rw-r--r--help/en_US/finddelay.xml78
-rw-r--r--help/en_US/gfcosets.xml60
-rw-r--r--help/en_US/gflineq.xml65
-rw-r--r--help/en_US/gfrepcov.xml55
-rw-r--r--help/en_US/gftrunc.xml51
-rw-r--r--help/en_US/iqcoef2imbal.xml55
-rw-r--r--help/en_US/iqimbal2coef.xml55
-rw-r--r--help/en_US/iscatastrophic.xml68
-rw-r--r--help/en_US/istrellis.xml81
-rw-r--r--help/en_US/lteZadoffChuSeq.xml61
-rw-r--r--help/en_US/master_help.xml28
-rw-r--r--help/en_US/octave_functions.xml116
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/DOCSbin42 -> 1408 bytes
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB3
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS2
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONSbin84 -> 5471 bytes
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA2
-rw-r--r--help/en_US/scilab_en_US_help/JavaHelpSearch/TMAPbin2048 -> 8192 bytes
-rw-r--r--help/en_US/scilab_en_US_help/alignsignals.html96
-rw-r--r--help/en_US/scilab_en_US_help/arithdeco.html85
-rw-r--r--help/en_US/scilab_en_US_help/arithenco.html36
-rw-r--r--help/en_US/scilab_en_US_help/finddelay.html95
-rw-r--r--help/en_US/scilab_en_US_help/gfcosets.html78
-rw-r--r--help/en_US/scilab_en_US_help/gflineq.html85
-rw-r--r--help/en_US/scilab_en_US_help/gfrepcov.html77
-rw-r--r--help/en_US/scilab_en_US_help/gftrunc.html74
-rw-r--r--help/en_US/scilab_en_US_help/index.html86
-rw-r--r--help/en_US/scilab_en_US_help/iqcoef2imbal.html77
-rw-r--r--help/en_US/scilab_en_US_help/iqimbal2coef.html78
-rw-r--r--help/en_US/scilab_en_US_help/iscatastrophic.html93
-rw-r--r--help/en_US/scilab_en_US_help/istrellis.html98
-rw-r--r--help/en_US/scilab_en_US_help/jhelpmap.jhm14
-rw-r--r--help/en_US/scilab_en_US_help/jhelptoc.xml14
-rw-r--r--help/en_US/scilab_en_US_help/lteZadoffChuSeq.html81
-rw-r--r--help/en_US/scilab_en_US_help/octave_functions.html102
-rw-r--r--help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html86
-rw-r--r--help/en_US/scilab_en_US_help/ssbdemod.html110
-rw-r--r--help/en_US/ssbdemod.xml97
-rw-r--r--help/fr_FR/build_help.sce3
-rw-r--r--help/fr_FR/c_multiplybypi.xml56
-rw-r--r--help/fr_FR/c_sub.xml86
-rw-r--r--help/fr_FR/c_sum.xml62
-rw-r--r--help/fr_FR/fortran_sum.xml62
-rw-r--r--help/fr_FR/scilab_sum.xml63
-rw-r--r--jar/scilab_en_US_help.jarbin14457 -> 47794 bytes
-rw-r--r--macros/alignsignals.binbin19752 -> 19636 bytes
-rw-r--r--macros/alignsignals.sci5
-rw-r--r--macros/arithdeco.binbin22733 -> 22427 bytes
-rw-r--r--macros/arithdeco.sci25
-rw-r--r--macros/arithenco.binbin22355 -> 22426 bytes
-rw-r--r--macros/arithenco.sci15
-rw-r--r--macros/cleanmacros.sce20
-rw-r--r--macros/finddelay.binbin26477 -> 26538 bytes
-rw-r--r--macros/finddelay.sci15
-rw-r--r--macros/gfcosets.binbin10350 -> 10336 bytes
-rw-r--r--macros/gfcosets.sci11
-rw-r--r--macros/gflineq.binbin19682 -> 19629 bytes
-rw-r--r--macros/gflineq.sci9
-rw-r--r--macros/gfrepcov.binbin5439 -> 5396 bytes
-rw-r--r--macros/gfrepcov.sci15
-rw-r--r--macros/gftrunc.binbin4631 -> 4635 bytes
-rw-r--r--macros/gftrunc.sci20
-rw-r--r--macros/iqcoef2imbal.binbin12452 -> 12380 bytes
-rw-r--r--macros/iqcoef2imbal.sci17
-rw-r--r--macros/iqimbal2coef.binbin9184 -> 9083 bytes
-rw-r--r--macros/iqimbal2coef.sci16
-rw-r--r--macros/iscatastrophic.binbin6927 -> 6842 bytes
-rw-r--r--macros/iscatastrophic.sci12
-rw-r--r--macros/istrellis.binbin16135 -> 16253 bytes
-rw-r--r--macros/istrellis.sci20
-rw-r--r--macros/lib29
-rw-r--r--macros/lteZadoffChuSeq.binbin6969 -> 7089 bytes
-rw-r--r--macros/lteZadoffChuSeq.sci12
-rw-r--r--macros/octave_functions.binbin0 -> 4686 bytes
-rw-r--r--macros/octave_functions.sci63
-rw-r--r--macros/ssbdemod.binbin18419 -> 18517 bytes
-rw-r--r--macros/ssbdemod.sci20
82 files changed, 2712 insertions, 492 deletions
diff --git a/builder.sce b/builder.sce
index c58e2c7..102f948 100644
--- a/builder.sce
+++ b/builder.sce
@@ -35,13 +35,13 @@ function main_builder()
// Action
// =============================================================================
+ help_from_sci("macros","help/en_US");
tbx_builder_macros(toolbox_dir);
//tbx_builder_gateway(toolbox_dir);
tbx_build_localization(toolbox_dir);
tbx_builder_help(toolbox_dir);
tbx_build_loader(toolbox_dir);
tbx_build_cleaner(toolbox_dir);
- help_from_sci("macros","help/en_US");
endfunction
// =============================================================================
diff --git a/help/en_US/addchapter.sce b/help/en_US/addchapter.sce
new file mode 100644
index 0000000..bb3559c
--- /dev/null
+++ b/help/en_US/addchapter.sce
@@ -0,0 +1,5 @@
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+// Generated by tbx_build_help_loader: Please, do not edit this file
+
+add_help_chapter("FOSSEE_Communication_Systems_Toolbox",get_absolute_file_path("addchapter.sce"),%F);
+clear add_help_chapter;
diff --git a/help/en_US/alignsignals.xml b/help/en_US/alignsignals.xml
new file mode 100644
index 0000000..90c03ee
--- /dev/null
+++ b/help/en_US/alignsignals.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from alignsignals.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="alignsignals" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>alignsignals</refname>
+ <refpurpose>This function aligns the two input signals.</refpurpose>
+ </refnamediv>
+
+
+<refsynopsisdiv>
+ <title>Syntax</title>
+ <synopsis>
+ [Xa Ya] = ALIGNSIGNALS(X,Y)
+ [Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG)
+ [Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG,1)
+ [Xa Ya D] = ALIGNSIGNALS(...)
+
+ </synopsis>
+</refsynopsisdiv>
+
+<refsection>
+ <title>Description</title>
+ <para>
+[Xa Ya] = ALIGNSIGNALS(X,Y) aligns the two vectors X and Y by estimating
+the delay D between the two. If Y is delayed with respect to X, D is
+positive , and X is delayed by D samples. If Y is advanced with respect
+to X, D is negative, and Y is delayed by -D samples.
+ </para>
+ <para>
+[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG) considers MAXLAG be the maximum correlation
+window size which is used to calculate the estimated delay D between X and Y.
+MAXLAG is an integer-valued scalar. By default, MAXLAG is equal to MAX(LX,LY)-1.
+If MAXLAG is empty ([]),then default value is considered. If MAXLAG
+is negative, it is replaced by its absolute value.
+ </para>
+ <para>
+[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG,1) keeps the lengths of Xa
+and Ya the same as those of X and Y, respectively.
+Here, 1 implies truncation of the intermediate vectors.
+Input argument 4 is 0 implies truncation_off (no truncation).
+D is positive implies D zeros are pre-pended to X, and the last D samples of X are truncated.
+D is negative implies -D zeros are pre-pended to Y, and the last -D samples
+of Y are truncated. That means, when D&gt;=Length(X), all samples of X are lost.
+Similarly, when -D&gt;=Length(Y), all samples of Y are lost.
+Avoid assigning a specific value to MAXLAG when using the truncate=1 option, set MAXLAG to [].
+ </para>
+ <para>
+[Xa Ya D] = ALIGNSIGNALS(...) returns the estimated delay D.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+X = [0 0 0 1 2 3 ];
+Y = [1 2 3 ];
+[Xa,Ya] = alignsignals(X,Y,[],1)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/arithdeco.xml b/help/en_US/arithdeco.xml
new file mode 100644
index 0000000..12bfb87
--- /dev/null
+++ b/help/en_US/arithdeco.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from arithdeco.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="arithdeco" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>arithdeco</refname>
+ <refpurpose>This function decodes the given code using arithmetic coding</refpurpose>
+ </refnamediv>
+
+
+<refsynopsisdiv>
+ <title>Syntax</title>
+ <synopsis>
+ SEQ = ARITHDECO(CODE, COUNT, LEN)
+
+ </synopsis>
+</refsynopsisdiv>
+
+<refsection>
+ <title>Description</title>
+ <para>
+SEQ = ARITHDECO(CODE, COUNT, LEN) decodes the given received seq (CODE) to message using arithmetic coding.
+COUNT is vector which gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
+CODE is the binary arithmetic code
+ </para>
+ <para>
+Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
+Therefore, sequence should be finite and positive
+Length of the COUNT should match the length of the source alphabet
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+counts = [40 1 9];
+len = 11;
+seq = [1 3 2 1 1 1 3 3 1 1 2 ]
+code = arithenco(seq,counts);
+disp(code)
+dseq=arithdeco(code,counts,len)
+disp(dseq)
+disp(seq)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/arithenco.xml b/help/en_US/arithenco.xml
index e303e05..c8fba0b 100644
--- a/help/en_US/arithenco.xml
+++ b/help/en_US/arithenco.xml
@@ -20,4 +20,50 @@
<refpurpose>This function encodes the given sequence using aritmetic coding</refpurpose>
</refnamediv>
+
+<refsynopsisdiv>
+ <title>Syntax</title>
+ <synopsis>
+ CODE = ARITHENCO(SEQ, COUNT)
+
+ </synopsis>
+</refsynopsisdiv>
+
+<refsection>
+ <title>Description</title>
+ <para>
+CODE = ARITHENCO(SEQ, COUNT) encodes the given sequence (SEQ) using arithmetic coding.
+COUNT is vector whihc gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
+CODE is the binary arithmetic code
+Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
+Therefore, sequence should be finite and positive
+Length of the COUNT should match the length of the source alphabet
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+counts = [40 1 9];
+len = 4;
+seq = [1 3 2 1]
+code = arithenco(seq,counts);
+disp(code)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Bibliography</title>
+ <para>Sayood, K., Introduction to Data Compression, Morgan Kaufmann, 2000, Chapter 4, Section 4.4.3.</para>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
</refentry>
diff --git a/help/en_US/finddelay.xml b/help/en_US/finddelay.xml
new file mode 100644
index 0000000..8eaa396
--- /dev/null
+++ b/help/en_US/finddelay.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from finddelay.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="finddelay" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>finddelay</refname>
+ <refpurpose>This function returns the estimated delay between two input signals using crosscorrelation.</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+D = FINDDELAY(X,Y), returns estimated Delay D between X
+and Y. D is positive implies Y is delayed with respect to X and vice versa.
+If X, Y are matrices, then D is a row vector corresponding to delay between columns of X and Y
+ </para>
+ <para>
+D = FINDDELAY(...,MAXLAG), uses MAXLAG as the maximum correlation
+window size used to find the estimated delay(s) between X and Y:
+ </para>
+ <para>
+&gt; If MAXLAG is an integer-valued scalar, and X and Y are row or column
+vectors or matrices, the vector D of estimated delays is found by
+cross-correlating (the columns of) X and Y over a range of lags
+-MAXLAG:MAXLAG.
+&gt; If MAXLAG is an integer-valued row or column vector, and one input is vector
+and another be matirx (let X is a row or column vector ,
+and Y is a matrix) then the vector D of estimated delays is found by
+cross-correlating X and column J of Y over a range of lags
+-MAXLAG(J):MAXLAG(J), for J=1:Number of columns of Y.
+&gt; If MAXLAG is an integer-valued row or column vector, and X and Y are
+both matrices. then vector D of estimated delays is found by
+cross-correlating corresponding columns of X and Y over a range of lags
+-MAXLAG(J):MAXLAG(J).
+ </para>
+ <para>
+By default, MAXLAG is equal to MAX(LX,LY)-1 for vectors,
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+X = [ 0 0 1 2 3 ];
+Y = [ 0 0 0 1 2 3];
+D = finddelay(X,Y,2)
+disp(D)
+X = [ 0 1 0 0 ; 1 0 2 1 ;0 0 0 2 ];
+Y = [ 0 0 1 0 ;1 0 0 2 ; 0 0 0 0 ];
+D = finddelay(X,Y)
+disp(D)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/gfcosets.xml b/help/en_US/gfcosets.xml
new file mode 100644
index 0000000..59850c7
--- /dev/null
+++ b/help/en_US/gfcosets.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from gfcosets.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="gfcosets" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>gfcosets</refname>
+ <refpurpose>This function produces cyclotomic cosets for a Galois field GF(P)</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+GFCS = GFCOSETS(M) produces cyclotomic cosets mod(2^M - 1). Each row of the
+output GFCS contains one cyclotomic coset.
+ </para>
+ <para>
+GFCS = GFCOSETS(M, P) produces cyclotomic cosets mod(P^M - 1), where
+P is a prime number.
+ </para>
+ <para>
+Because the length of the cosets varies in the complete set, %nan is used to
+fill out the extra space in order to make all variables have the same
+length in the output matrix GFCS.
+ </para>
+ <para>
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+c = gfcosets(2,3)
+disp(c)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/gflineq.xml b/help/en_US/gflineq.xml
new file mode 100644
index 0000000..19a56b0
--- /dev/null
+++ b/help/en_US/gflineq.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from gflineq.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="gflineq" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>gflineq</refname>
+ <refpurpose>This function finds a solution for linear equation Ax = b over a prime Galois field.</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+[X, SFLAG] = GFLINEQ(A, B) returns a particular solution (X) of AX=B in GF(2).
+If the equation has no solution, then X is empty and SFLAG = 0 else SFLAG = 1.
+ </para>
+ <para>
+[X, SFLAG]= GFLINEQ(A, B, P) returns a particular solution of the linear
+equation A X = B in GF(P) and SFLAG=1.
+If the equation has no solution, then X is empty and SFLAG = 0.
+ </para>
+ <para>
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+A=[1 0 1; 1 1 0; 1 1 1]
+p=3
+[x,vld] = gflineq(A,[1;0;1],p)
+disp(A,'A=')
+disp(x,'x=');
+if(vld)
+disp('Linear equation has solution x')
+else
+disp('Linear equation has no solution and x is empty')
+end
+disp( pmodulo(A*x,p),'B =')
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/gfrepcov.xml b/help/en_US/gfrepcov.xml
new file mode 100644
index 0000000..01d6c12
--- /dev/null
+++ b/help/en_US/gfrepcov.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from gfrepcov.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="gfrepcov" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>gfrepcov</refname>
+ <refpurpose>This function represents a binary polynomial in standard ascending order format.</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+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.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+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)
+
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/gftrunc.xml b/help/en_US/gftrunc.xml
new file mode 100644
index 0000000..f203c81
--- /dev/null
+++ b/help/en_US/gftrunc.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from gftrunc.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="gftrunc" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>gftrunc</refname>
+ <refpurpose>This function is used to truncate the higher order zeroes in the given polynomial equation</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+A is considered to be matrix that gives the coefficients of polynomial GF(p) in ascending order powers
+A = [1 2 3] denotes 1 + 2 x + 3 x^2
+AT=GFTRUNC(A) returns a matrix which gives the polynomial GF(p) truncating the input matrix
+that is if A(i)=0, where i &gt; d + 1, where d is the degree of the polynomial, that zero is removed
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+A= [ 0 0 1 4 0 0]
+c = gftrunc([0 0 1 2 3 0 0 0 4 5 0 1 0 0])
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/iqcoef2imbal.xml b/help/en_US/iqcoef2imbal.xml
new file mode 100644
index 0000000..f465c5c
--- /dev/null
+++ b/help/en_US/iqcoef2imbal.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from iqcoef2imbal.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="iqcoef2imbal" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>iqcoef2imbal</refname>
+ <refpurpose>This function returns the amplitude imbalance and phase imbalance</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+[AMP_IMB_DB, PH_IMB_DEG] = IQCOEF2IMBAL(COMP_COEF) returns
+the amplitude imbalance and phase imbalance
+that a given compensator coefficient will correct.
+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.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+[a_imb_db,ph_imb_deq] = iqcoef2imbal([4 2 complex(-0.1145,0.1297) complex(-0.0013,0.0029)])
+disp(a_imb_db,'amplitude imbalance in dB =')
+disp(ph_imb_deq,'phase imbalance in degrees=')
+
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/iqimbal2coef.xml b/help/en_US/iqimbal2coef.xml
new file mode 100644
index 0000000..29c0473
--- /dev/null
+++ b/help/en_US/iqimbal2coef.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from iqimbal2coef.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="iqimbal2coef" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>iqimbal2coef</refname>
+ <refpurpose>This function returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+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.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+[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=')
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/iscatastrophic.xml b/help/en_US/iscatastrophic.xml
new file mode 100644
index 0000000..915ef6c
--- /dev/null
+++ b/help/en_US/iscatastrophic.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from iscatastrophic.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="iscatastrophic" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>iscatastrophic</refname>
+ <refpurpose>This function determines if a convolutional code is catastrophic or not</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+RESULT = ISCATASTROPHIC(TRELLIS) returns 1 if the specified
+trellis corresponds to a catastrophic convolutional code, else 0.
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+eg_1.numInputSymbols = 4;
+eg_1.numOutputSymbols = 4;
+eg_1.numStates = 3;
+eg_1.nextStates = [0 1 2 1;0 1 2 1; 0 1 2 1];
+eg_1.outputs = [0 0 1 1;1 1 2 1; 1 0 1 1];
+res_t_eg_1=istrellis(eg_1)
+res_c_eg_1=iscatastrophic(eg_1)
+if (res_c_eg_1) then
+disp('Example 1 is catastrophic')
+else
+disp('Example 1 is not catastrophic')
+end
+eg_2.numInputSymbols = 2;
+eg_2.numOutputSymbols = 4;
+eg_2.numStates = 2;
+eg_2.nextStates = [0 0; 1 1 ]
+eg_2.outputs = [0 0; 1 1];
+res_t_eg_2=istrellis(eg_2)
+res_c_eg_2=iscatastrophic(eg_2)
+if (res_c_eg_2) then
+disp('Example 2 is catastrophic')
+else
+disp('Example 2 is not catastrophic')
+end
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/istrellis.xml b/help/en_US/istrellis.xml
new file mode 100644
index 0000000..a742261
--- /dev/null
+++ b/help/en_US/istrellis.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from istrellis.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="istrellis" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>istrellis</refname>
+ <refpurpose>This function checks if the given input is of trellis structure</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+[ISOK, STATUS] = ISTRELLIS(S) returns [T,''] if the given input is valid trellis structure. Otherwise ISOK is F and STATUS
+indicates the reason for invalidity
+ </para>
+ <para>
+Fields in trellis structure are
+numInputSymbols, (number of input symbols)
+numOutputSymbols, (number of output symbols)
+numStates, (number of states)
+nextStates, (next state matrix)
+outputs, (output matrix)
+ </para>
+ <para>
+Properties of the fields are as follows
+numInputSymbols and numOutputSymbols should be a power of 2 (as data is represented in bits).
+The 'nextStates' and 'outputs' fields are matrices of size 'numStates' x 'numInputSymbols' .
+Each element in the 'nextStates' matrix and 'output' matrix is an integer value between zero and (numStates-1).
+The (r,c) element of the 'nextStates' matrix and 'output' matrix,denotes the next state and output respectively when
+the starting state is (r-1) and the input bits have decimal representation (c-1).
+ </para>
+ <para>
+To convert to decimal value, use the first input bit as the most significant bit (MSB).
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+Valid trellis structure
+trellis.numInputSymbols = 4;
+trellis.numOutputSymbols = 4;
+trellis.numStates = 3;
+trellis.nextStates = [0 1 2 1;0 1 2 1; 0 1 2 1];
+trellis.outputs = [0 0 1 1;1 1 2 1; 1 0 1 1];
+[isok,status] = istrellis(trellis)
+
+Inavlid trellis structure
+trellis.numInputSymbols = 3;
+trellis.numOutputSymbols = 3;
+trellis.numStates = 3;
+trellis.nextStates = [0 1 2 ;0 1 2 ; 0 1 2 ];
+trellis.outputs = [0 0 1 ;1 1 2 ; 1 0 1 ];
+[isok,status] = istrellis(trellis)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/lteZadoffChuSeq.xml b/help/en_US/lteZadoffChuSeq.xml
new file mode 100644
index 0000000..26e39f4
--- /dev/null
+++ b/help/en_US/lteZadoffChuSeq.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from lteZadoffChuSeq.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="lteZadoffChuSeq" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>lteZadoffChuSeq</refname>
+ <refpurpose>This function generates root Zadoff-Chu sequence of complex symbols as per LTE specifications.</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+SEQ = LTEZADOFFCHUSEQ(R, N) generates the Rth root Zadoff-Chu sequence (SEQ)
+of length N.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+seq1 = lteZadoffChuSeq(2, 3)
+disp(seq1,'seq1')
+//Error should occur because inputs are not co primes
+seq2 = lteZadoffChuSeq(25, 5)
+disp(seq2,'seq2')
+
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Bibliography</title>
+ <para>3rd Generation Partnership Project, Technical Specification Group Radio</para>
+ <para>Access Network, Evolved Universal Terrestrial Radio Access (E-UTRA),</para>
+ <para>Physical channels and modulation, Release 10, 3GPP TS 36.211, v10.0.0,</para>
+ <para>2010-12.</para>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml
index b3b27d3..a6115d0 100644
--- a/help/en_US/master_help.xml
+++ b/help/en_US/master_help.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book [
<!--Begin Entities-->
+<!ENTITY abbab6e363c5628eaebbbb13af15017d1 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/alignsignals.xml">
+<!ENTITY a6cf26bc826aa2a13e513479fb771b8d3 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/arithdeco.xml">
<!ENTITY aaa30023c011c2d00a22694ae6ca55e21 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/arithenco.xml">
+<!ENTITY a954ba0e19a1c282aadb2037003a2e24f SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/finddelay.xml">
+<!ENTITY a3e8e25b8e9087f74b6ced8480944e12e SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/gfcosets.xml">
+<!ENTITY af493f190190f2350b9c9005d568729d4 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/gflineq.xml">
+<!ENTITY ac7c236c674443f8359b379eb7984fae6 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/gfrepcov.xml">
+<!ENTITY a73d0cf80beb8a70a9dbce1b0beafddfc SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/gftrunc.xml">
+<!ENTITY a99eb36b2a384db7518eb509623d77dd8 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/iqcoef2imbal.xml">
+<!ENTITY a64b4ed87241b1bed1ad876766668de08 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/iqimbal2coef.xml">
+<!ENTITY a00eb0d4504e4b1f052e536c9853260cb SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/iscatastrophic.xml">
+<!ENTITY a19ba4e809aea0bd30dc4d6556467ce7b SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/istrellis.xml">
+<!ENTITY acc68b7f28731c4a6dd38df2902862041 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/lteZadoffChuSeq.xml">
+<!ENTITY ace4dca7c71cdc2b40ea29e7f4b7677f1 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/octave_functions.xml">
+<!ENTITY ab8c34ae1e9b36a8768c0265578560679 SYSTEM "/home/rupak/communications/FOSSEE-Communication-Systems-Toolbox/help/en_US/ssbdemod.xml">
<!--End Entities-->
]>
<book version="5.0-subset Scilab" xml:lang="en_US"
@@ -18,6 +32,20 @@
<part xml:id='section_1f049b1e3111e3d1d538e7603f77f589'>
<title>FOSSEE_Communication_Systems_Toolbox</title>
+&abbab6e363c5628eaebbbb13af15017d1;
+&a6cf26bc826aa2a13e513479fb771b8d3;
&aaa30023c011c2d00a22694ae6ca55e21;
+&a954ba0e19a1c282aadb2037003a2e24f;
+&a3e8e25b8e9087f74b6ced8480944e12e;
+&af493f190190f2350b9c9005d568729d4;
+&ac7c236c674443f8359b379eb7984fae6;
+&a73d0cf80beb8a70a9dbce1b0beafddfc;
+&a99eb36b2a384db7518eb509623d77dd8;
+&a64b4ed87241b1bed1ad876766668de08;
+&a00eb0d4504e4b1f052e536c9853260cb;
+&a19ba4e809aea0bd30dc4d6556467ce7b;
+&acc68b7f28731c4a6dd38df2902862041;
+&ace4dca7c71cdc2b40ea29e7f4b7677f1;
+&ab8c34ae1e9b36a8768c0265578560679;
</part>
</book>
diff --git a/help/en_US/octave_functions.xml b/help/en_US/octave_functions.xml
new file mode 100644
index 0000000..b50f5f6
--- /dev/null
+++ b/help/en_US/octave_functions.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from octave_functions.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="octave_functions" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>octave_functions</refname>
+ <refpurpose>Call functions available in communications (and any other) package of Octave. The actual function call is "octave_fun" and is available as a part of "FOSSEE-Scilab-Octave-Toolbox"</refpurpose>
+ </refnamediv>
+
+
+<refsynopsisdiv>
+ <title>Syntax</title>
+ <synopsis>
+ [y1, y2, ...] = octave_fun("octave_function",input1,input2,...)
+ [y1, y2, ...] = octave_fun("octave_function",input1,input2,...,optional_input1,optional_input2,...)
+ [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...)
+ [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...,optional_input1,optional_input2,...)
+
+ </synopsis>
+</refsynopsisdiv>
+
+<refsection>
+ <title>Parameters</title>
+ <variablelist>
+ <varlistentry>
+ <term>y :</term>
+ <listitem><para> ouput as returned by octave. It can be a vector or matrix of doubles</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>octave_function :</term>
+ <listitem><para> name of the function in octave that has to be called. It has to be a string in double quotes</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>input :</term>
+ <listitem><para> input as expected by the octave function. It can be a vector or matrix of doubles</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>optional_input :</term>
+ <listitem><para> an optional argument that the given octave function can accept. It has to be a string in double quotes</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>octave_package :</term>
+ <listitem><para> name of the package in octave that has to be loaded as required by the octave function. It has to be a string in double quotes</para></listitem>
+ </varlistentry>
+ </variablelist>
+</refsection>
+
+<refsection>
+ <title>Description</title>
+ <para>
+This function accepts an octave function name with the relevant inputs and returns the output as generated. It requires Octave to be installed along with necessary packages.
+ </para>
+ <para>
+<latex>
+\begin{eqnarray}
+&amp;\mbox{min}_{x}
+&amp; C^Tâ‹…x \\
+&amp; \text{subject to}&amp; Aâ‹…x = b \\
+&amp; &amp; Gâ‹…x \preceq_K h \\
+&amp; &amp; x_i \in \{0,1\}, i \in \!\, bool_vars\
+&amp; &amp; x_j \in \!\, \mathbb{Z}, i \in \!\, int_vars\\
+\end{eqnarray}
+</latex>
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+
+// Reshape a given array using octave and its "communications" package.
+// See help in octave for more information about "reshape" function.
+// Note that this example requires the "communications" package to be installed in octave and the "FOSSEE-Scilab-Octave-Toolbox" loaded in scilab.
+x = [1, 2, 3, 4];
+dim1 = 2;
+dim2 = 2;
+output = octave_fun("reshape", "communications", x, dim1, dim2)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+
+// Compute the Q function using octave and its "communications" package.
+// See help in octave for more information about "qfunc" function.
+// Note that this example requires the "communications" package to be installed in octave and the "FOSSEE-Scilab-Octave-Toolbox" loaded in scilab.
+M = [1, 2; 3, 4];
+output = octave_fun("qfunc", "communications", M)
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Rupak Rokade</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS
index 22646bd..065f3cd 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB
index 5009c35..d944672 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB
@@ -1 +1,2 @@
-eÿÿÿ@ÿÿý€ \ No newline at end of file
+eÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿý—ÿÿÿÿÿÿÿÿÿö_ÿÿÿÿÿý—ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷_ÿÿÿÿÿÿÿÿ÷_ÿÿÿÿÿÿÿÿÿÿÿÿÿÙÿÿÙÿÿÿÿÿÿÿÿý—ÿó ÿÿÙÿÿö_Ùÿÿÿeÿÿÿÿÿÿÿÿÿÿý—Ð1‘¢ÿ0³Ê0ª8ª4®¸Â³X£J8ª9\¬ÂŽ*Œ‹*(Ò£ÊÍd*ŽRª¨Òªª£ÿúJ,Û¨¿ŽZ‹Ì/0¿0¼È¿ø⌢Ì,ȳ2Œ+Ê4«4³"Ì¢ó(³ ój/Ì,Ê/0³"ó ó"Ì,ÂüÂÿÿÿÿªóJ«ªªªªªª«0³
+ú¯Ì+0¿üÂþê¾ª¿ëþÿªª¿îººïºªª««êªª»ºªªªªªªªªªª®ªªªªªªª¯ö \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS
index 90f9c03..5918ccb 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS
@@ -1 +1 @@
-‡PƒÉ`ÃÐ \ No newline at end of file
+‚æU\aª=OÓ* ”#RÜ€ €;ËʼݬKµ·+úÕ¹`„êe;Ì\šÍ},îõ¥º“´@™& \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS
index eeb46b1..42fcc13 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA
index 2cfff7d..b6a5538 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA
@@ -1,2 +1,2 @@
JavaSearch 1.0
-TMAP bs=2048 rt=0 fl=-1 id1=19 id2=1
+TMAP bs=2048 rt=1 fl=-1 id1=509 id2=1
diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP
index 6ca29d9..d6bf32e 100644
--- a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP
+++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP
Binary files differ
diff --git a/help/en_US/scilab_en_US_help/alignsignals.html b/help/en_US/scilab_en_US_help/alignsignals.html
new file mode 100644
index 0000000..495fa9e
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/alignsignals.html
@@ -0,0 +1,96 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>alignsignals</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">&lt;&lt; FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="arithdeco.html">arithdeco &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; alignsignals</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">alignsignals</h1>
+ <p class="refpurpose">This function aligns the two input signals.</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Syntax</h3>
+ <div class="synopsis"><pre><span class="default">[</span><span class="default">Xa</span> <span class="default">Ya</span><span class="default">] = </span><span class="default">ALIGNSIGNALS</span><span class="default">(</span><span class="default">X</span><span class="default">,</span><span class="default">Y</span><span class="default">)</span>
+<span class="default">[</span><span class="default">Xa</span> <span class="default">Ya</span><span class="default">] = </span><span class="default">ALIGNSIGNALS</span><span class="default">(</span><span class="default">X</span><span class="default">,</span><span class="default">Y</span><span class="default">,</span><span class="default">MAXLAG</span><span class="default">)</span>
+<span class="default">[</span><span class="default">Xa</span> <span class="default">Ya</span><span class="default">] = </span><span class="default">ALIGNSIGNALS</span><span class="default">(</span><span class="default">X</span><span class="default">,</span><span class="default">Y</span><span class="default">,</span><span class="default">MAXLAG</span><span class="default">,1)</span>
+<span class="default">[</span><span class="default">Xa</span> <span class="default">Ya</span> <span class="default">D</span><span class="default">] = </span><span class="default">ALIGNSIGNALS</span><span class="default">(...)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">[Xa Ya] = ALIGNSIGNALS(X,Y) aligns the two vectors X and Y by estimating
+the delay D between the two. If Y is delayed with respect to X, D is
+positive , and X is delayed by D samples. If Y is advanced with respect
+to X, D is negative, and Y is delayed by -D samples.</p>
+ <p class="para">[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG) considers MAXLAG be the maximum correlation
+window size which is used to calculate the estimated delay D between X and Y.
+MAXLAG is an integer-valued scalar. By default, MAXLAG is equal to MAX(LX,LY)-1.
+If MAXLAG is empty ([]),then default value is considered. If MAXLAG
+is negative, it is replaced by its absolute value.</p>
+ <p class="para">[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG,1) keeps the lengths of Xa
+and Ya the same as those of X and Y, respectively.
+Here, 1 implies truncation of the intermediate vectors.
+Input argument 4 is 0 implies truncation_off (no truncation).
+D is positive implies D zeros are pre-pended to X, and the last D samples of X are truncated.
+D is negative implies -D zeros are pre-pended to Y, and the last -D samples
+of Y are truncated. That means, when D&gt;=Length(X), all samples of X are lost.
+Similarly, when -D&gt;=Length(Y), all samples of Y are lost.
+Avoid assigning a specific value to MAXLAG when using the truncate=1 option, set MAXLAG to [].</p>
+ <p class="para">[Xa Ya D] = ALIGNSIGNALS(...) returns the estimated delay D.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">X</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">3</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">Y</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">3</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabopenclose">[</span><span class="scilabid">Xa</span><span class="scilabdefault">,</span><span class="scilabid">Ya</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">alignsignals</span><span class="scilabopenclose">(</span><span class="scilabid">X</span><span class="scilabdefault">,</span><span class="scilabid">Y</span><span class="scilabdefault">,</span><span class="scilabopenclose">[</span><span class="scilabopenclose">]</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">&lt;&lt; FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="arithdeco.html">arithdeco &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/arithdeco.html b/help/en_US/scilab_en_US_help/arithdeco.html
new file mode 100644
index 0000000..0bb23a3
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/arithdeco.html
@@ -0,0 +1,85 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>arithdeco</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="alignsignals.html">&lt;&lt; alignsignals</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="arithenco.html">arithenco &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; arithdeco</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">arithdeco</h1>
+ <p class="refpurpose">This function decodes the given code using arithmetic coding</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Syntax</h3>
+ <div class="synopsis"><pre><span class="default">SEQ</span><span class="default"> = </span><span class="default">ARITHDECO</span><span class="default">(</span><span class="default">CODE</span><span class="default">, </span><span class="default">COUNT</span><span class="default">, </span><span class="default">LEN</span><span class="default">)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">SEQ = ARITHDECO(CODE, COUNT, LEN) decodes the given received seq (CODE) to message using arithmetic coding.
+COUNT is vector which gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
+CODE is the binary arithmetic code</p>
+ <p class="para">Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
+Therefore, sequence should be finite and positive
+Length of the COUNT should match the length of the source alphabet</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">counts</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">40</span> <span class="scilabnumber">1</span> <span class="scilabnumber">9</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">len</span> <span class="scilaboperator">=</span> <span class="scilabnumber">11</span><span class="scilabdefault">;</span>
+<span class="scilabid">seq</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">3</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">3</span> <span class="scilabnumber">3</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabopenclose">]</span>
+<span class="scilabid">code</span> <span class="scilaboperator">=</span> <span class="scilabid">arithenco</span><span class="scilabopenclose">(</span><span class="scilabid">seq</span><span class="scilabdefault">,</span><span class="scilabid">counts</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">code</span><span class="scilabopenclose">)</span>
+<span class="scilabid">dseq</span><span class="scilaboperator">=</span><span class="scilabid">arithdeco</span><span class="scilabopenclose">(</span><span class="scilabid">code</span><span class="scilabdefault">,</span><span class="scilabid">counts</span><span class="scilabdefault">,</span><span class="scilabid">len</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">dseq</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">seq</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="alignsignals.html">&lt;&lt; alignsignals</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="arithenco.html">arithenco &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/arithenco.html b/help/en_US/scilab_en_US_help/arithenco.html
index 785de5e..78ce48e 100644
--- a/help/en_US/scilab_en_US_help/arithenco.html
+++ b/help/en_US/scilab_en_US_help/arithenco.html
@@ -12,7 +12,7 @@
<div class="manualnavbar">
<table width="100%"><tr>
<td width="30%">
- <span class="previous"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">&lt;&lt; FOSSEE_Communication_Systems_Toolbox</a></span>
+ <span class="previous"><a href="arithdeco.html">&lt;&lt; arithdeco</a></span>
</td>
<td width="40%" class="center">
@@ -20,7 +20,8 @@
</td>
<td width="30%" class="next">
-
+ <span class="next"><a href="finddelay.html">finddelay &gt;&gt;</a></span>
+
</td>
</tr></table>
<hr />
@@ -33,6 +34,32 @@
<br /><br />
<div class="refnamediv"><h1 class="refname">arithenco</h1>
<p class="refpurpose">This function encodes the given sequence using aritmetic coding</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Syntax</h3>
+ <div class="synopsis"><pre><span class="default">CODE</span><span class="default"> = </span><span class="default">ARITHENCO</span><span class="default">(</span><span class="default">SEQ</span><span class="default">, </span><span class="default">COUNT</span><span class="default">)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">CODE = ARITHENCO(SEQ, COUNT) encodes the given sequence (SEQ) using arithmetic coding.
+COUNT is vector whihc gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
+CODE is the binary arithmetic code
+Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
+Therefore, sequence should be finite and positive
+Length of the COUNT should match the length of the source alphabet</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">counts</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">40</span> <span class="scilabnumber">1</span> <span class="scilabnumber">9</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">len</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">seq</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">3</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span>
+<span class="scilabid">code</span> <span class="scilaboperator">=</span> <span class="scilabid">arithenco</span><span class="scilabopenclose">(</span><span class="scilabid">seq</span><span class="scilabdefault">,</span><span class="scilabid">counts</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">code</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Bibliography</h3>
+ <p class="para">Sayood, K., Introduction to Data Compression, Morgan Kaufmann, 2000, Chapter 4, Section 4.4.3.</p></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
<br />
<div class="manualnavbar">
@@ -40,7 +67,7 @@
<tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
<tr>
<td width="30%">
- <span class="previous"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">&lt;&lt; FOSSEE_Communication_Systems_Toolbox</a></span>
+ <span class="previous"><a href="arithdeco.html">&lt;&lt; arithdeco</a></span>
</td>
<td width="40%" class="center">
@@ -48,7 +75,8 @@
</td>
<td width="30%" class="next">
-
+ <span class="next"><a href="finddelay.html">finddelay &gt;&gt;</a></span>
+
</td>
</tr></table>
<hr />
diff --git a/help/en_US/scilab_en_US_help/finddelay.html b/help/en_US/scilab_en_US_help/finddelay.html
new file mode 100644
index 0000000..757117d
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/finddelay.html
@@ -0,0 +1,95 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>finddelay</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="arithenco.html">&lt;&lt; arithenco</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gfcosets.html">gfcosets &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; finddelay</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">finddelay</h1>
+ <p class="refpurpose">This function returns the estimated delay between two input signals using crosscorrelation.</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">D = FINDDELAY(X,Y), returns estimated Delay D between X
+and Y. D is positive implies Y is delayed with respect to X and vice versa.
+If X, Y are matrices, then D is a row vector corresponding to delay between columns of X and Y</p>
+ <p class="para">D = FINDDELAY(...,MAXLAG), uses MAXLAG as the maximum correlation
+window size used to find the estimated delay(s) between X and Y:</p>
+ <p class="para">&gt; If MAXLAG is an integer-valued scalar, and X and Y are row or column
+vectors or matrices, the vector D of estimated delays is found by
+cross-correlating (the columns of) X and Y over a range of lags
+-MAXLAG:MAXLAG.
+&gt; If MAXLAG is an integer-valued row or column vector, and one input is vector
+and another be matirx (let X is a row or column vector ,
+and Y is a matrix) then the vector D of estimated delays is found by
+cross-correlating X and column J of Y over a range of lags
+-MAXLAG(J):MAXLAG(J), for J=1:Number of columns of Y.
+&gt; If MAXLAG is an integer-valued row or column vector, and X and Y are
+both matrices. then vector D of estimated delays is found by
+cross-correlating corresponding columns of X and Y over a range of lags
+-MAXLAG(J):MAXLAG(J).</p>
+ <p class="para">By default, MAXLAG is equal to MAX(LX,LY)-1 for vectors,</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">X</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">3</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">Y</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">3</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">D</span> <span class="scilaboperator">=</span> <span class="scilabid">finddelay</span><span class="scilabopenclose">(</span><span class="scilabid">X</span><span class="scilabdefault">,</span><span class="scilabid">Y</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">D</span><span class="scilabopenclose">)</span>
+<span class="scilabid">X</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span> <span class="scilabdefault">;</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">2</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">Y</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabdefault">;</span><span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">2</span> <span class="scilabdefault">;</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">D</span> <span class="scilaboperator">=</span> <span class="scilabid">finddelay</span><span class="scilabopenclose">(</span><span class="scilabid">X</span><span class="scilabdefault">,</span><span class="scilabid">Y</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">D</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="arithenco.html">&lt;&lt; arithenco</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gfcosets.html">gfcosets &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/gfcosets.html b/help/en_US/scilab_en_US_help/gfcosets.html
new file mode 100644
index 0000000..66cb7f5
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/gfcosets.html
@@ -0,0 +1,78 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>gfcosets</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="finddelay.html">&lt;&lt; finddelay</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gflineq.html">gflineq &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; gfcosets</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">gfcosets</h1>
+ <p class="refpurpose">This function produces cyclotomic cosets for a Galois field GF(P)</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">GFCS = GFCOSETS(M) produces cyclotomic cosets mod(2^M - 1). Each row of the
+output GFCS contains one cyclotomic coset.</p>
+ <p class="para">GFCS = GFCOSETS(M, P) produces cyclotomic cosets mod(P^M - 1), where
+P is a prime number.</p>
+ <p class="para">Because the length of the cosets varies in the complete set, %nan is used to
+fill out the extra space in order to make all variables have the same
+length in the output matrix GFCS.</p>
+ <p class="para"></p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c</span> <span class="scilaboperator">=</span> <span class="scilabid">gfcosets</span><span class="scilabopenclose">(</span><span class="scilabnumber">2</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">c</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="finddelay.html">&lt;&lt; finddelay</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gflineq.html">gflineq &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/gflineq.html b/help/en_US/scilab_en_US_help/gflineq.html
new file mode 100644
index 0000000..4c3d2f7
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/gflineq.html
@@ -0,0 +1,85 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>gflineq</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="gfcosets.html">&lt;&lt; gfcosets</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gfrepcov.html">gfrepcov &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; gflineq</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">gflineq</h1>
+ <p class="refpurpose">This function finds a solution for linear equation Ax = b over a prime Galois field.</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">[X, SFLAG] = GFLINEQ(A, B) returns a particular solution (X) of AX=B in GF(2).
+If the equation has no solution, then X is empty and SFLAG = 0 else SFLAG = 1.</p>
+ <p class="para">[X, SFLAG]= GFLINEQ(A, B, P) returns a particular solution of the linear
+equation A X = B in GF(P) and SFLAG=1.
+If the equation has no solution, then X is empty and SFLAG = 0.</p>
+ <p class="para"></p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">A</span><span class="scilaboperator">=</span><span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span>
+<span class="scilabid">p</span><span class="scilaboperator">=</span><span class="scilabnumber">3</span>
+<span class="scilabopenclose">[</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabid">vld</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">gflineq</span><span class="scilabopenclose">(</span><span class="scilabid">A</span><span class="scilabdefault">,</span><span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabdefault">;</span><span class="scilabnumber">0</span><span class="scilabdefault">;</span><span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">,</span><span class="scilabid">p</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">A</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">A=</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">x=</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabskeyword">if</span><span class="scilabopenclose">(</span><span class="scilabid">vld</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Linear equation has solution x</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">else</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Linear equation has no solution and x is empty</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">end</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span> <a class="scilabmacro" href="scilab://pmodulo">pmodulo</a><span class="scilabopenclose">(</span><span class="scilabid">A</span><span class="scilaboperator">*</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabid">p</span><span class="scilabopenclose">)</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">B =</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="gfcosets.html">&lt;&lt; gfcosets</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gfrepcov.html">gfrepcov &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/gfrepcov.html b/help/en_US/scilab_en_US_help/gfrepcov.html
new file mode 100644
index 0000000..a648564
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/gfrepcov.html
@@ -0,0 +1,77 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>gfrepcov</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="gflineq.html">&lt;&lt; gflineq</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gftrunc.html">gftrunc &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; gfrepcov</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">gfrepcov</h1>
+ <p class="refpurpose">This function represents a binary polynomial in standard ascending order format.</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">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.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">The</span> <a class="scilabcommand" href="scilab://matrix">matrix</a> <span class="scilabstring">below</span> <span class="scilabstring">represents</span> <span class="scilabstring">the</span> <span class="scilabstring">binary</span> <span class="scilabstring">polynomial</span> <span class="scilabstring">$1</span> <span class="scilabstring">+</span> <span class="scilabstring">s</span> <span class="scilabstring">+</span> <span class="scilabstring">s^2</span> <span class="scilabstring">+</span> <span class="scilabstring">s^4$</span>
+<span class="scilabid">Implies</span> <span class="scilabid">output</span> <span class="scilabid">vector</span> <span class="scilabid">should</span> <span class="scilabid">be</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span>
+<span class="scilabid">A</span><span class="scilaboperator">=</span><span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">4</span> <span class="scilabopenclose">]</span>
+<span class="scilabid">B</span><span class="scilaboperator">=</span><span class="scilabid">gfrepcov</span><span class="scilabopenclose">(</span><span class="scilabid">A</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">B</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="gflineq.html">&lt;&lt; gflineq</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="gftrunc.html">gftrunc &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/gftrunc.html b/help/en_US/scilab_en_US_help/gftrunc.html
new file mode 100644
index 0000000..edbe751
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/gftrunc.html
@@ -0,0 +1,74 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>gftrunc</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="gfrepcov.html">&lt;&lt; gfrepcov</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iqcoef2imbal.html">iqcoef2imbal &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; gftrunc</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">gftrunc</h1>
+ <p class="refpurpose">This function is used to truncate the higher order zeroes in the given polynomial equation</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">A is considered to be matrix that gives the coefficients of polynomial GF(p) in ascending order powers
+A = [1 2 3] denotes 1 + 2 x + 3 x^2
+AT=GFTRUNC(A) returns a matrix which gives the polynomial GF(p) truncating the input matrix
+that is if A(i)=0, where i &gt; d + 1, where d is the degree of the polynomial, that zero is removed</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">A</span><span class="scilaboperator">=</span> <span class="scilabopenclose">[</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">4</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span><span class="scilabopenclose">]</span>
+<span class="scilabid">c</span> <span class="scilaboperator">=</span> <span class="scilabid">gftrunc</span><span class="scilabopenclose">(</span><span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">3</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">4</span> <span class="scilabnumber">5</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">0</span><span class="scilabopenclose">]</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="gfrepcov.html">&lt;&lt; gfrepcov</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iqcoef2imbal.html">iqcoef2imbal &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html
index 33cb2ea..65ef155 100644
--- a/help/en_US/scilab_en_US_help/index.html
+++ b/help/en_US/scilab_en_US_help/index.html
@@ -32,7 +32,91 @@
<ul class="list-part"><a name="fossee_communication_systems_toolbox_manual"></a><div class="info"></div>
<li><a href="section_1f049b1e3111e3d1d538e7603f77f589.html" class="part">FOSSEE_Communication_Systems_Toolbox</a>
-<ul class="list-chapter"><li><a href="arithenco.html" class="refentry">arithenco</a> &#8212; <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li></ul></li></ul>
+<ul class="list-chapter"><li><a href="alignsignals.html" class="refentry">alignsignals</a> &#8212; <span class="refentry-description">This function aligns the two input signals.</span></li>
+
+
+
+
+
+<li><a href="arithdeco.html" class="refentry">arithdeco</a> &#8212; <span class="refentry-description">This function decodes the given code using arithmetic coding</span></li>
+
+
+
+
+
+<li><a href="arithenco.html" class="refentry">arithenco</a> &#8212; <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li>
+
+
+
+
+
+<li><a href="finddelay.html" class="refentry">finddelay</a> &#8212; <span class="refentry-description">This function returns the estimated delay between two input signals using crosscorrelation.</span></li>
+
+
+
+
+
+<li><a href="gfcosets.html" class="refentry">gfcosets</a> &#8212; <span class="refentry-description">This function produces cyclotomic cosets for a Galois field GF(P)</span></li>
+
+
+
+
+
+<li><a href="gflineq.html" class="refentry">gflineq</a> &#8212; <span class="refentry-description">This function finds a solution for linear equation Ax = b over a prime Galois field.</span></li>
+
+
+
+
+
+<li><a href="gfrepcov.html" class="refentry">gfrepcov</a> &#8212; <span class="refentry-description">This function represents a binary polynomial in standard ascending order format.</span></li>
+
+
+
+
+
+<li><a href="gftrunc.html" class="refentry">gftrunc</a> &#8212; <span class="refentry-description">This function is used to truncate the higher order zeroes in the given polynomial equation</span></li>
+
+
+
+
+
+<li><a href="iqcoef2imbal.html" class="refentry">iqcoef2imbal</a> &#8212; <span class="refentry-description">This function returns the amplitude imbalance and phase imbalance</span></li>
+
+
+
+
+
+<li><a href="iqimbal2coef.html" class="refentry">iqimbal2coef</a> &#8212; <span class="refentry-description">This function returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.</span></li>
+
+
+
+
+
+<li><a href="iscatastrophic.html" class="refentry">iscatastrophic</a> &#8212; <span class="refentry-description">This function determines if a convolutional code is catastrophic or not</span></li>
+
+
+
+
+
+<li><a href="istrellis.html" class="refentry">istrellis</a> &#8212; <span class="refentry-description">This function checks if the given input is of trellis structure</span></li>
+
+
+
+
+
+<li><a href="lteZadoffChuSeq.html" class="refentry">lteZadoffChuSeq</a> &#8212; <span class="refentry-description">This function generates root Zadoff-Chu sequence of complex symbols as per LTE specifications.</span></li>
+
+
+
+
+
+<li><a href="octave_functions.html" class="refentry">octave_functions</a> &#8212; <span class="refentry-description">Call functions available in communications (and any other) package of Octave. The actual function call is &#0034;octave_fun&#0034; and is available as a part of &#0034;FOSSEE-Scilab-Octave-Toolbox&#0034;</span></li>
+
+
+
+
+
+<li><a href="ssbdemod.html" class="refentry">ssbdemod</a> &#8212; <span class="refentry-description">This function performs Single Side Band Amplitude Demodulation</span></li></ul></li></ul>
<br />
<div class="manualnavbar">
diff --git a/help/en_US/scilab_en_US_help/iqcoef2imbal.html b/help/en_US/scilab_en_US_help/iqcoef2imbal.html
new file mode 100644
index 0000000..6de9384
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/iqcoef2imbal.html
@@ -0,0 +1,77 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>iqcoef2imbal</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="gftrunc.html">&lt;&lt; gftrunc</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iqimbal2coef.html">iqimbal2coef &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; iqcoef2imbal</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">iqcoef2imbal</h1>
+ <p class="refpurpose">This function returns the amplitude imbalance and phase imbalance</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">[AMP_IMB_DB, PH_IMB_DEG] = IQCOEF2IMBAL(COMP_COEF) returns
+the amplitude imbalance and phase imbalance
+that a given compensator coefficient will correct.
+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.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabopenclose">[</span><span class="scilabid">a_imb_db</span><span class="scilabdefault">,</span><span class="scilabid">ph_imb_deq</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">iqcoef2imbal</span><span class="scilabopenclose">(</span><span class="scilabopenclose">[</span><span class="scilabnumber">4</span> <span class="scilabnumber">2</span> <a class="scilabmacro" href="scilab://complex">complex</a><span class="scilabopenclose">(</span><span class="scilaboperator">-</span><span class="scilabnumber">0.1145</span><span class="scilabdefault">,</span><span class="scilabnumber">0.1297</span><span class="scilabopenclose">)</span> <a class="scilabmacro" href="scilab://complex">complex</a><span class="scilabopenclose">(</span><span class="scilaboperator">-</span><span class="scilabnumber">0.0013</span><span class="scilabdefault">,</span><span class="scilabnumber">0.0029</span><span class="scilabopenclose">)</span><span class="scilabopenclose">]</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">a_imb_db</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">amplitude imbalance in dB =</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">ph_imb_deq</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">phase imbalance in degrees=</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="gftrunc.html">&lt;&lt; gftrunc</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iqimbal2coef.html">iqimbal2coef &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/iqimbal2coef.html b/help/en_US/scilab_en_US_help/iqimbal2coef.html
new file mode 100644
index 0000000..2dc757f
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/iqimbal2coef.html
@@ -0,0 +1,78 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>iqimbal2coef</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="iqcoef2imbal.html">&lt;&lt; iqcoef2imbal</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iscatastrophic.html">iscatastrophic &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; iqimbal2coef</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">iqimbal2coef</h1>
+ <p class="refpurpose">This function returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">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.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabopenclose">[</span><span class="scilabid">a_imb_db</span><span class="scilabdefault">,</span><span class="scilabid">ph_imb_deg</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">iqcoef2imbal</span><span class="scilabopenclose">(</span><span class="scilabopenclose">[</span><span class="scilabnumber">4</span> <span class="scilabnumber">2</span> <a class="scilabmacro" href="scilab://complex">complex</a><span class="scilabopenclose">(</span><span class="scilaboperator">-</span><span class="scilabnumber">0.1145</span><span class="scilabdefault">,</span><span class="scilabnumber">0.1297</span><span class="scilabopenclose">)</span> <a class="scilabmacro" href="scilab://complex">complex</a><span class="scilabopenclose">(</span><span class="scilaboperator">-</span><span class="scilabnumber">0.0013</span><span class="scilabdefault">,</span><span class="scilabnumber">0.0029</span><span class="scilabopenclose">)</span><span class="scilabopenclose">]</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">a_imb_db</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">amplitude imbalance in dB =</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">ph_imb_deg</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">phase imbalance in degrees=</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabid">Comp_Coef</span> <span class="scilaboperator">=</span> <span class="scilabid">iqimbal2coef</span><span class="scilabopenclose">(</span><span class="scilabid">a_imb_db</span><span class="scilabdefault">,</span> <span class="scilabid">ph_imb_deg</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">Comp_Coef</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Compensator Coefficients=</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="iqcoef2imbal.html">&lt;&lt; iqcoef2imbal</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="iscatastrophic.html">iscatastrophic &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/iscatastrophic.html b/help/en_US/scilab_en_US_help/iscatastrophic.html
new file mode 100644
index 0000000..4094f18
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/iscatastrophic.html
@@ -0,0 +1,93 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>iscatastrophic</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="iqimbal2coef.html">&lt;&lt; iqimbal2coef</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="istrellis.html">istrellis &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; iscatastrophic</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">iscatastrophic</h1>
+ <p class="refpurpose">This function determines if a convolutional code is catastrophic or not</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">RESULT = ISCATASTROPHIC(TRELLIS) returns 1 if the specified
+trellis corresponds to a catastrophic convolutional code, else 0.</p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">eg_1</span><span class="scilaboperator">.</span><span class="scilabfield">numInputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_1</span><span class="scilaboperator">.</span><span class="scilabfield">numOutputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_1</span><span class="scilaboperator">.</span><span class="scilabfield">numStates</span> <span class="scilaboperator">=</span> <span class="scilabnumber">3</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_1</span><span class="scilaboperator">.</span><span class="scilabfield">nextStates</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_1</span><span class="scilaboperator">.</span><span class="scilabfield">outputs</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span><span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">res_t_eg_1</span><span class="scilaboperator">=</span><span class="scilabid">istrellis</span><span class="scilabopenclose">(</span><span class="scilabid">eg_1</span><span class="scilabopenclose">)</span>
+<span class="scilabid">res_c_eg_1</span><span class="scilaboperator">=</span><span class="scilabid">iscatastrophic</span><span class="scilabopenclose">(</span><span class="scilabid">eg_1</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">if</span> <span class="scilabopenclose">(</span><span class="scilabid">res_c_eg_1</span><span class="scilabopenclose">)</span> <span class="scilabskeyword">then</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Example 1 is catastrophic</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">else</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Example 1 is not catastrophic</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">end</span>
+<span class="scilabid">eg_2</span><span class="scilaboperator">.</span><span class="scilabfield">numInputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_2</span><span class="scilaboperator">.</span><span class="scilabfield">numOutputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_2</span><span class="scilaboperator">.</span><span class="scilabfield">numStates</span> <span class="scilaboperator">=</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<span class="scilabid">eg_2</span><span class="scilaboperator">.</span><span class="scilabfield">nextStates</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabopenclose">]</span>
+<span class="scilabid">eg_2</span><span class="scilaboperator">.</span><span class="scilabfield">outputs</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">res_t_eg_2</span><span class="scilaboperator">=</span><span class="scilabid">istrellis</span><span class="scilabopenclose">(</span><span class="scilabid">eg_2</span><span class="scilabopenclose">)</span>
+<span class="scilabid">res_c_eg_2</span><span class="scilaboperator">=</span><span class="scilabid">iscatastrophic</span><span class="scilabopenclose">(</span><span class="scilabid">eg_2</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">if</span> <span class="scilabopenclose">(</span><span class="scilabid">res_c_eg_2</span><span class="scilabopenclose">)</span> <span class="scilabskeyword">then</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Example 2 is catastrophic</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">else</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Example 2 is not catastrophic</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabskeyword">end</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="iqimbal2coef.html">&lt;&lt; iqimbal2coef</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="istrellis.html">istrellis &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/istrellis.html b/help/en_US/scilab_en_US_help/istrellis.html
new file mode 100644
index 0000000..5c9f2c2
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/istrellis.html
@@ -0,0 +1,98 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>istrellis</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="iscatastrophic.html">&lt;&lt; iscatastrophic</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="lteZadoffChuSeq.html">lteZadoffChuSeq &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; istrellis</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">istrellis</h1>
+ <p class="refpurpose">This function checks if the given input is of trellis structure</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">[ISOK, STATUS] = ISTRELLIS(S) returns [T,&#0039;&#0039;] if the given input is valid trellis structure. Otherwise ISOK is F and STATUS
+indicates the reason for invalidity</p>
+ <p class="para">Fields in trellis structure are
+numInputSymbols, (number of input symbols)
+numOutputSymbols, (number of output symbols)
+numStates, (number of states)
+nextStates, (next state matrix)
+outputs, (output matrix)</p>
+ <p class="para">Properties of the fields are as follows
+numInputSymbols and numOutputSymbols should be a power of 2 (as data is represented in bits).
+The &#0039;nextStates&#0039; and &#0039;outputs&#0039; fields are matrices of size &#0039;numStates&#0039; x &#0039;numInputSymbols&#0039; .
+Each element in the &#0039;nextStates&#0039; matrix and &#0039;output&#0039; matrix is an integer value between zero and (numStates-1).
+The (r,c) element of the &#0039;nextStates&#0039; matrix and &#0039;output&#0039; matrix,denotes the next state and output respectively when
+the starting state is (r-1) and the input bits have decimal representation (c-1).</p>
+ <p class="para">To convert to decimal value, use the first input bit as the most significant bit (MSB).</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">Valid</span> <span class="scilabid">trellis</span> <span class="scilabid">structure</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numInputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numOutputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">4</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numStates</span> <span class="scilaboperator">=</span> <span class="scilabnumber">3</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">nextStates</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">outputs</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span><span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabnumber">1</span><span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabopenclose">[</span><span class="scilabid">isok</span><span class="scilabdefault">,</span><span class="scilabid">status</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">istrellis</span><span class="scilabopenclose">(</span><span class="scilabid">trellis</span><span class="scilabopenclose">)</span>
+
+<span class="scilabid">Inavlid</span> <span class="scilabid">trellis</span> <span class="scilabid">structure</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numInputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">3</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numOutputSymbols</span> <span class="scilaboperator">=</span> <span class="scilabnumber">3</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">numStates</span> <span class="scilaboperator">=</span> <span class="scilabnumber">3</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">nextStates</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabdefault">;</span><span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabdefault">;</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">trellis</span><span class="scilaboperator">.</span><span class="scilabfield">outputs</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabdefault">;</span><span class="scilabnumber">1</span> <span class="scilabnumber">1</span> <span class="scilabnumber">2</span> <span class="scilabdefault">;</span> <span class="scilabnumber">1</span> <span class="scilabnumber">0</span> <span class="scilabnumber">1</span> <span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabopenclose">[</span><span class="scilabid">isok</span><span class="scilabdefault">,</span><span class="scilabid">status</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">istrellis</span><span class="scilabopenclose">(</span><span class="scilabid">trellis</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="iscatastrophic.html">&lt;&lt; iscatastrophic</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="lteZadoffChuSeq.html">lteZadoffChuSeq &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm
index 7c02e3c..640043a 100644
--- a/help/en_US/scilab_en_US_help/jhelpmap.jhm
+++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm
@@ -3,5 +3,19 @@
<map version="1.0">
<mapID target="index" url="index.html"/>
<mapID target="section_1f049b1e3111e3d1d538e7603f77f589" url="section_1f049b1e3111e3d1d538e7603f77f589.html"/>
+<mapID target="alignsignals" url="alignsignals.html"/>
+<mapID target="arithdeco" url="arithdeco.html"/>
<mapID target="arithenco" url="arithenco.html"/>
+<mapID target="finddelay" url="finddelay.html"/>
+<mapID target="gfcosets" url="gfcosets.html"/>
+<mapID target="gflineq" url="gflineq.html"/>
+<mapID target="gfrepcov" url="gfrepcov.html"/>
+<mapID target="gftrunc" url="gftrunc.html"/>
+<mapID target="iqcoef2imbal" url="iqcoef2imbal.html"/>
+<mapID target="iqimbal2coef" url="iqimbal2coef.html"/>
+<mapID target="iscatastrophic" url="iscatastrophic.html"/>
+<mapID target="istrellis" url="istrellis.html"/>
+<mapID target="lteZadoffChuSeq" url="lteZadoffChuSeq.html"/>
+<mapID target="octave_functions" url="octave_functions.html"/>
+<mapID target="ssbdemod" url="ssbdemod.html"/>
</map> \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml
index 30ce6fb..1583522 100644
--- a/help/en_US/scilab_en_US_help/jhelptoc.xml
+++ b/help/en_US/scilab_en_US_help/jhelptoc.xml
@@ -3,7 +3,21 @@
<toc version="1.0">
<tocitem target="index" text="FOSSEE_Communication_Systems_Toolbox">
<tocitem target="section_1f049b1e3111e3d1d538e7603f77f589" text="FOSSEE_Communication_Systems_Toolbox">
+<tocitem target="alignsignals" text="alignsignals"/>
+<tocitem target="arithdeco" text="arithdeco"/>
<tocitem target="arithenco" text="arithenco"/>
+<tocitem target="finddelay" text="finddelay"/>
+<tocitem target="gfcosets" text="gfcosets"/>
+<tocitem target="gflineq" text="gflineq"/>
+<tocitem target="gfrepcov" text="gfrepcov"/>
+<tocitem target="gftrunc" text="gftrunc"/>
+<tocitem target="iqcoef2imbal" text="iqcoef2imbal"/>
+<tocitem target="iqimbal2coef" text="iqimbal2coef"/>
+<tocitem target="iscatastrophic" text="iscatastrophic"/>
+<tocitem target="istrellis" text="istrellis"/>
+<tocitem target="lteZadoffChuSeq" text="lteZadoffChuSeq"/>
+<tocitem target="octave_functions" text="octave_functions"/>
+<tocitem target="ssbdemod" text="ssbdemod"/>
</tocitem>
</tocitem>
</toc> \ No newline at end of file
diff --git a/help/en_US/scilab_en_US_help/lteZadoffChuSeq.html b/help/en_US/scilab_en_US_help/lteZadoffChuSeq.html
new file mode 100644
index 0000000..99df316
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/lteZadoffChuSeq.html
@@ -0,0 +1,81 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>lteZadoffChuSeq</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="istrellis.html">&lt;&lt; istrellis</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="octave_functions.html">octave_functions &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; lteZadoffChuSeq</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">lteZadoffChuSeq</h1>
+ <p class="refpurpose">This function generates root Zadoff-Chu sequence of complex symbols as per LTE specifications.</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">SEQ = LTEZADOFFCHUSEQ(R, N) generates the Rth root Zadoff-Chu sequence (SEQ)
+of length N.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">seq1</span> <span class="scilaboperator">=</span> <span class="scilabid">lteZadoffChuSeq</span><span class="scilabopenclose">(</span><span class="scilabnumber">2</span><span class="scilabdefault">,</span> <span class="scilabnumber">3</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">seq1</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">seq1</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span>
+<span class="scilabcomment">//Error should occur because inputs are not co primes</span>
+<span class="scilabid">seq2</span> <span class="scilaboperator">=</span> <span class="scilabid">lteZadoffChuSeq</span><span class="scilabopenclose">(</span><span class="scilabnumber">25</span><span class="scilabdefault">,</span> <span class="scilabnumber">5</span><span class="scilabopenclose">)</span>
+<a class="scilabcommand" href="scilab://disp">disp</a><span class="scilabopenclose">(</span><span class="scilabid">seq2</span><span class="scilabdefault">,</span><span class="scilabstring">&#0039;</span><span class="scilabstring">seq2</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Bibliography</h3>
+ <p class="para">3rd Generation Partnership Project, Technical Specification Group Radio</p>
+ <p class="para">Access Network, Evolved Universal Terrestrial Radio Access (E-UTRA),</p>
+ <p class="para">Physical channels and modulation, Release 10, 3GPP TS 36.211, v10.0.0,</p>
+ <p class="para">2010-12.</p></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="istrellis.html">&lt;&lt; istrellis</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="octave_functions.html">octave_functions &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/octave_functions.html b/help/en_US/scilab_en_US_help/octave_functions.html
new file mode 100644
index 0000000..345acc2
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/octave_functions.html
@@ -0,0 +1,102 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>octave_functions</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="lteZadoffChuSeq.html">&lt;&lt; lteZadoffChuSeq</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="ssbdemod.html">ssbdemod &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; octave_functions</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">octave_functions</h1>
+ <p class="refpurpose">Call functions available in communications (and any other) package of Octave. The actual function call is &#0034;octave_fun&#0034; and is available as a part of &#0034;FOSSEE-Scilab-Octave-Toolbox&#0034;</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Syntax</h3>
+ <div class="synopsis"><pre><span class="default">[</span><span class="default">y1</span><span class="default">, </span><span class="default">y2</span><span class="default">, ...] = </span><span class="default">octave_fun</span><span class="default">(</span>&#0034;<span class="default">octave_function</span>&#0034;<span class="default">,</span><span class="default">input1</span><span class="default">,</span><span class="default">input2</span><span class="default">,...)</span>
+<span class="default">[</span><span class="default">y1</span><span class="default">, </span><span class="default">y2</span><span class="default">, ...] = </span><span class="default">octave_fun</span><span class="default">(</span>&#0034;<span class="default">octave_function</span>&#0034;<span class="default">,</span><span class="default">input1</span><span class="default">,</span><span class="default">input2</span><span class="default">,...,</span><span class="default">optional_input1</span><span class="default">,</span><span class="default">optional_input2</span><span class="default">,...)</span>
+<span class="default">[</span><span class="default">y1</span><span class="default">, </span><span class="default">y2</span><span class="default">, ...] = </span><span class="default">octave_fun</span><span class="default">(</span>&#0034;<span class="default">octave_function</span>&#0034;<span class="default">,</span>&#0034;<span class="default">octave_package</span>&#0034;<span class="default">,</span><span class="default">input1</span><span class="default">,</span><span class="default">input2</span><span class="default">,...)</span>
+<span class="default">[</span><span class="default">y1</span><span class="default">, </span><span class="default">y2</span><span class="default">, ...] = </span><span class="default">octave_fun</span><span class="default">(</span>&#0034;<span class="default">octave_function</span>&#0034;<span class="default">,</span>&#0034;<span class="default">octave_package</span>&#0034;<span class="default">,</span><span class="default">input1</span><span class="default">,</span><span class="default">input2</span><span class="default">,...,</span><span class="default">optional_input1</span><span class="default">,</span><span class="default">optional_input2</span><span class="default">,...)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Parameters</h3>
+ <dl><dt><span class="term">y :</span>
+ <dd><p class="para">ouput as returned by octave. It can be a vector or matrix of doubles</p></dd></dt>
+ <dt><span class="term">octave_function :</span>
+ <dd><p class="para">name of the function in octave that has to be called. It has to be a string in double quotes</p></dd></dt>
+ <dt><span class="term">input :</span>
+ <dd><p class="para">input as expected by the octave function. It can be a vector or matrix of doubles</p></dd></dt>
+ <dt><span class="term">optional_input :</span>
+ <dd><p class="para">an optional argument that the given octave function can accept. It has to be a string in double quotes</p></dd></dt>
+ <dt><span class="term">octave_package :</span>
+ <dd><p class="para">name of the package in octave that has to be loaded as required by the octave function. It has to be a string in double quotes</p></dd></dt></dl></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">This function accepts an octave function name with the relevant inputs and returns the output as generated. It requires Octave to be installed along with necessary packages.</p>
+ <p class="para"></p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabcomment">// Reshape a given array using octave and its </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">communications</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> package.</span>
+<span class="scilabcomment">// See help in octave for more information about </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">reshape</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> function.</span>
+<span class="scilabcomment">// Note that this example requires the </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">communications</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> package to be installed in octave and the </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">FOSSEE-Scilab-Octave-Toolbox</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> loaded in scilab.</span>
+<span class="scilabid">x</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span> <span class="scilabnumber">2</span><span class="scilabdefault">,</span> <span class="scilabnumber">3</span><span class="scilabdefault">,</span> <span class="scilabnumber">4</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">dim1</span> <span class="scilaboperator">=</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<span class="scilabid">dim2</span> <span class="scilaboperator">=</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<span class="scilabid">output</span> <span class="scilaboperator">=</span> <span class="scilabid">octave_fun</span><span class="scilabopenclose">(</span><span class="scilabstring">&#0034;</span><span class="scilabstring">reshape</span><span class="scilabstring">&#0034;</span><span class="scilabdefault">,</span> <span class="scilabstring">&#0034;</span><span class="scilabstring">communications</span><span class="scilabstring">&#0034;</span><span class="scilabdefault">,</span> <span class="scilabid">x</span><span class="scilabdefault">,</span> <span class="scilabid">dim1</span><span class="scilabdefault">,</span> <span class="scilabid">dim2</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabcomment">// Compute the Q function using octave and its </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">communications</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> package.</span>
+<span class="scilabcomment">// See help in octave for more information about </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">qfunc</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> function.</span>
+<span class="scilabcomment">// Note that this example requires the </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">communications</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> package to be installed in octave and the </span><span class="scilabcomment">&#0034;</span><span class="scilabcomment">FOSSEE-Scilab-Octave-Toolbox</span><span class="scilabcomment">&#0034;</span><span class="scilabcomment"> loaded in scilab.</span>
+<span class="scilabid">M</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span> <span class="scilabnumber">3</span><span class="scilabdefault">,</span> <span class="scilabnumber">4</span><span class="scilabopenclose">]</span><span class="scilabdefault">;</span>
+<span class="scilabid">output</span> <span class="scilaboperator">=</span> <span class="scilabid">octave_fun</span><span class="scilabopenclose">(</span><span class="scilabstring">&#0034;</span><span class="scilabstring">qfunc</span><span class="scilabstring">&#0034;</span><span class="scilabdefault">,</span> <span class="scilabstring">&#0034;</span><span class="scilabstring">communications</span><span class="scilabstring">&#0034;</span><span class="scilabdefault">,</span> <span class="scilabid">M</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Rupak Rokade</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="lteZadoffChuSeq.html">&lt;&lt; lteZadoffChuSeq</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="ssbdemod.html">ssbdemod &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html b/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html
index 1afbe8c..756b049 100644
--- a/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html
+++ b/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html
@@ -31,7 +31,91 @@
<br /><br />
<h3 class="title-part">FOSSEE_Communication_Systems_Toolbox</h3>
-<ul class="list-chapter"><li><a href="arithenco.html" class="refentry">arithenco</a> &#8212; <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li></ul>
+<ul class="list-chapter"><li><a href="alignsignals.html" class="refentry">alignsignals</a> &#8212; <span class="refentry-description">This function aligns the two input signals.</span></li>
+
+
+
+
+
+<li><a href="arithdeco.html" class="refentry">arithdeco</a> &#8212; <span class="refentry-description">This function decodes the given code using arithmetic coding</span></li>
+
+
+
+
+
+<li><a href="arithenco.html" class="refentry">arithenco</a> &#8212; <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li>
+
+
+
+
+
+<li><a href="finddelay.html" class="refentry">finddelay</a> &#8212; <span class="refentry-description">This function returns the estimated delay between two input signals using crosscorrelation.</span></li>
+
+
+
+
+
+<li><a href="gfcosets.html" class="refentry">gfcosets</a> &#8212; <span class="refentry-description">This function produces cyclotomic cosets for a Galois field GF(P)</span></li>
+
+
+
+
+
+<li><a href="gflineq.html" class="refentry">gflineq</a> &#8212; <span class="refentry-description">This function finds a solution for linear equation Ax = b over a prime Galois field.</span></li>
+
+
+
+
+
+<li><a href="gfrepcov.html" class="refentry">gfrepcov</a> &#8212; <span class="refentry-description">This function represents a binary polynomial in standard ascending order format.</span></li>
+
+
+
+
+
+<li><a href="gftrunc.html" class="refentry">gftrunc</a> &#8212; <span class="refentry-description">This function is used to truncate the higher order zeroes in the given polynomial equation</span></li>
+
+
+
+
+
+<li><a href="iqcoef2imbal.html" class="refentry">iqcoef2imbal</a> &#8212; <span class="refentry-description">This function returns the amplitude imbalance and phase imbalance</span></li>
+
+
+
+
+
+<li><a href="iqimbal2coef.html" class="refentry">iqimbal2coef</a> &#8212; <span class="refentry-description">This function returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.</span></li>
+
+
+
+
+
+<li><a href="iscatastrophic.html" class="refentry">iscatastrophic</a> &#8212; <span class="refentry-description">This function determines if a convolutional code is catastrophic or not</span></li>
+
+
+
+
+
+<li><a href="istrellis.html" class="refentry">istrellis</a> &#8212; <span class="refentry-description">This function checks if the given input is of trellis structure</span></li>
+
+
+
+
+
+<li><a href="lteZadoffChuSeq.html" class="refentry">lteZadoffChuSeq</a> &#8212; <span class="refentry-description">This function generates root Zadoff-Chu sequence of complex symbols as per LTE specifications.</span></li>
+
+
+
+
+
+<li><a href="octave_functions.html" class="refentry">octave_functions</a> &#8212; <span class="refentry-description">Call functions available in communications (and any other) package of Octave. The actual function call is &#0034;octave_fun&#0034; and is available as a part of &#0034;FOSSEE-Scilab-Octave-Toolbox&#0034;</span></li>
+
+
+
+
+
+<li><a href="ssbdemod.html" class="refentry">ssbdemod</a> &#8212; <span class="refentry-description">This function performs Single Side Band Amplitude Demodulation</span></li></ul>
<br />
<div class="manualnavbar">
diff --git a/help/en_US/scilab_en_US_help/ssbdemod.html b/help/en_US/scilab_en_US_help/ssbdemod.html
new file mode 100644
index 0000000..1fe5a1a
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/ssbdemod.html
@@ -0,0 +1,110 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>ssbdemod</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="octave_functions.html">&lt;&lt; octave_functions</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> &gt;&gt; <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> &gt; ssbdemod</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">ssbdemod</h1>
+ <p class="refpurpose">This function performs Single Side Band Amplitude Demodulation</p></div>
+
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">Z = SSBDEMOD(Y,Fc,Fs)
+demodulates the single sideband amplitude modulated signal Y
+with the carrier frequency Fc (Hz).
+Sample frequency Fs (Hz). zero initial phase (ini_phase).
+The modulated signal can be an upper or lower sideband signal.
+A lowpass butterworth filter is used in the demodulation.</p>
+ <p class="para">Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE)
+adds an extra argument the initial phase (rad) of the modulated signal.</p>
+ <p class="para">Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE,NUM,DEN)
+adds extra arguments about the filter specifications
+i.e., the numerator and denominator of the lowpass filter.</p>
+ <p class="para">Fs must satisfy Fs &gt;2*(Fc + BW), where BW is the bandwidth of the
+modulating signal.</p>
+ <p class="para"></p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">Fs</span> <span class="scilaboperator">=</span><span class="scilabnumber">200</span><span class="scilabdefault">;</span>
+<span class="scilabid">t</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">[</span><span class="scilabnumber">0</span><span class="scilabspecial">:</span><span class="scilabnumber">2</span><span class="scilaboperator">*</span><span class="scilabid">Fs</span><span class="scilaboperator">+</span><span class="scilabnumber">1</span><span class="scilabopenclose">]</span><span class="scilaboperator">&#0039;</span><span class="scilaboperator">/</span><span class="scilabid">Fs</span><span class="scilabdefault">;</span>
+<span class="scilabid">ini_phase</span> <span class="scilaboperator">=</span> <span class="scilabnumber">5</span><span class="scilabdefault">;</span>
+<span class="scilabid">Fc</span> <span class="scilaboperator">=</span> <span class="scilabnumber">20</span><span class="scilabdefault">;</span>
+<span class="scilabid">fm1</span><span class="scilaboperator">=</span> <span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<span class="scilabid">fm2</span><span class="scilaboperator">=</span> <span class="scilabnumber">3</span>
+<span class="scilabid">x</span> <span class="scilaboperator">=</span><a class="scilabcommand" href="scilab://sin">sin</a><span class="scilabopenclose">(</span><span class="scilabnumber">2</span><span class="scilaboperator">*</span><span class="scilabid">fm1</span><span class="scilaboperator">*</span><span class="scilabconstants">%pi</span><span class="scilaboperator">*</span><span class="scilabid">t</span><span class="scilabopenclose">)</span><span class="scilaboperator">+</span><a class="scilabcommand" href="scilab://sin">sin</a><span class="scilabopenclose">(</span><span class="scilabnumber">2</span><span class="scilaboperator">*</span><span class="scilabid">fm2</span><span class="scilaboperator">*</span><span class="scilabconstants">%pi</span><span class="scilaboperator">*</span><span class="scilabid">t</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">y</span> <span class="scilaboperator">=</span> <span class="scilabid">ssbmod</span><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabid">Fc</span><span class="scilabdefault">,</span><span class="scilabid">Fs</span><span class="scilabdefault">,</span><span class="scilabid">ini_phase</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">o</span> <span class="scilaboperator">=</span> <span class="scilabid">ssbdemod</span><span class="scilabopenclose">(</span><span class="scilabid">y</span><span class="scilabdefault">,</span><span class="scilabid">Fc</span><span class="scilabdefault">,</span><span class="scilabid">Fs</span><span class="scilabdefault">,</span><span class="scilabid">ini_phase</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">z</span> <span class="scilaboperator">=</span> <a class="scilabcommand" href="scilab://fft">fft</a><span class="scilabopenclose">(</span><span class="scilabid">y</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">zz</span> <span class="scilaboperator">=</span><a class="scilabcommand" href="scilab://abs">abs</a><span class="scilabopenclose">(</span><span class="scilabid">z</span><span class="scilabopenclose">(</span><span class="scilabnumber">1</span><span class="scilabspecial">:</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">z</span><span class="scilabopenclose">)</span><span class="scilaboperator">/</span><span class="scilabnumber">2</span><span class="scilaboperator">+</span><span class="scilabnumber">1</span> <span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">axis</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">(</span><span class="scilabnumber">0</span><span class="scilabspecial">:</span><span class="scilabid">Fs</span><span class="scilaboperator">/</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">zz</span><span class="scilabopenclose">)</span><span class="scilabspecial">:</span><span class="scilabid">Fs</span> <span class="scilaboperator">-</span><span class="scilabopenclose">(</span><span class="scilabid">Fs</span><span class="scilaboperator">/</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">zz</span><span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilaboperator">/</span><span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+
+<a class="scilabcommand" href="scilab://figure">figure</a>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring"> Message signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">y</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Amplitude modulated signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">axis</span><span class="scilabdefault">,</span><span class="scilabid">zz</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Spectrum of amplitude modulated signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">z1</span> <span class="scilaboperator">=</span><a class="scilabcommand" href="scilab://fft">fft</a><span class="scilabopenclose">(</span><span class="scilabid">o</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">zz1</span> <span class="scilaboperator">=</span><a class="scilabcommand" href="scilab://abs">abs</a><span class="scilabopenclose">(</span><span class="scilabid">z1</span><span class="scilabopenclose">(</span><span class="scilabnumber">1</span><span class="scilabspecial">:</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">z1</span><span class="scilabopenclose">)</span><span class="scilaboperator">/</span><span class="scilabnumber">2</span><span class="scilaboperator">+</span><span class="scilabnumber">1</span> <span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">axis</span> <span class="scilaboperator">=</span> <span class="scilabopenclose">(</span><span class="scilabnumber">0</span><span class="scilabspecial">:</span><span class="scilabid">Fs</span><span class="scilaboperator">/</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">zz1</span><span class="scilabopenclose">)</span><span class="scilabspecial">:</span><span class="scilabid">Fs</span> <span class="scilaboperator">-</span><span class="scilabopenclose">(</span><span class="scilabid">Fs</span><span class="scilaboperator">/</span><a class="scilabcommand" href="scilab://length">length</a><span class="scilabopenclose">(</span><span class="scilabid">zz1</span><span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilabopenclose">)</span><span class="scilaboperator">/</span><span class="scilabnumber">2</span><span class="scilabdefault">;</span>
+<a class="scilabcommand" href="scilab://figure">figure</a>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">y</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring"> Modulated signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">o</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Demodulated signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://subplot">subplot</a><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span> <a class="scilabmacro" href="scilab://plot">plot</a><span class="scilabopenclose">(</span><span class="scilabid">axis</span><span class="scilabdefault">,</span><span class="scilabid">zz1</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<a class="scilabmacro" href="scilab://title">title</a><span class="scilabopenclose">(</span><span class="scilabstring">&#0039;</span><span class="scilabstring">Spectrum of Demodulated signal</span><span class="scilabstring">&#0039;</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Pola Lakshmi Priyanka, IIT Bombay</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="octave_functions.html">&lt;&lt; octave_functions</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>
diff --git a/help/en_US/ssbdemod.xml b/help/en_US/ssbdemod.xml
new file mode 100644
index 0000000..1ce9be8
--- /dev/null
+++ b/help/en_US/ssbdemod.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from ssbdemod.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="ssbdemod" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>ssbdemod</refname>
+ <refpurpose>This function performs Single Side Band Amplitude Demodulation</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Description</title>
+ <para>
+Z = SSBDEMOD(Y,Fc,Fs)
+demodulates the single sideband amplitude modulated signal Y
+with the carrier frequency Fc (Hz).
+Sample frequency Fs (Hz). zero initial phase (ini_phase).
+The modulated signal can be an upper or lower sideband signal.
+A lowpass butterworth filter is used in the demodulation.
+ </para>
+ <para>
+Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE)
+adds an extra argument the initial phase (rad) of the modulated signal.
+ </para>
+ <para>
+Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE,NUM,DEN)
+adds extra arguments about the filter specifications
+i.e., the numerator and denominator of the lowpass filter.
+ </para>
+ <para>
+Fs must satisfy Fs &gt;2*(Fc + BW), where BW is the bandwidth of the
+modulating signal.
+ </para>
+ <para>
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+
+Fs =200;
+t = [0:2*Fs+1]'/Fs;
+ini_phase = 5;
+Fc = 20;
+fm1= 2;
+fm2= 3
+x =sin(2*fm1*%pi*t)+sin(2*fm2*%pi*t);
+y = ssbmod(x,Fc,Fs,ini_phase);
+o = ssbdemod(y,Fc,Fs,ini_phase);
+z = fft(y);
+zz =abs(z(1:length(z)/2+1 ));
+axis = (0:Fs/length(zz):Fs -(Fs/length(zz)))/2;
+
+figure
+subplot(3,1,1); plot(x);
+title(' Message signal');
+subplot(3,1,2); plot(y);
+title('Amplitude modulated signal');
+subplot(3,1,3); plot(axis,zz);
+title('Spectrum of amplitude modulated signal');
+z1 =fft(o);
+zz1 =abs(z1(1:length(z1)/2+1 ));
+axis = (0:Fs/length(zz1):Fs -(Fs/length(zz1)))/2;
+figure
+subplot(3,1,1); plot(y);
+title(' Modulated signal');
+subplot(3,1,2); plot(o);
+title('Demodulated signal');
+subplot(3,1,3); plot(axis,zz1);
+title('Spectrum of Demodulated signal');
+
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Pola Lakshmi Priyanka, IIT Bombay</member>
+ </simplelist>
+</refsection>
+</refentry>
diff --git a/help/fr_FR/build_help.sce b/help/fr_FR/build_help.sce
deleted file mode 100644
index 7065316..0000000
--- a/help/fr_FR/build_help.sce
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file is released under the 3-clause BSD license. See COPYING-BSD.
-
-tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce"));
diff --git a/help/fr_FR/c_multiplybypi.xml b/help/fr_FR/c_multiplybypi.xml
deleted file mode 100644
index b23737d..0000000
--- a/help/fr_FR/c_multiplybypi.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- *
- * This file is released under the 3-clause BSD license. See COPYING-BSD.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_multiplybypi" xml:lang="en">
- <refnamediv>
- <refname>c_multiplybypi</refname>
- <refpurpose>Multiple par %pi un nombre</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>Séquence d'appel</title>
- <synopsis>a = multiplybypi(b)</synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>Arguments</title>
- <variablelist>
- <varlistentry>
- <term>b</term>
- <listitem>
- <para>Premier argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a</term>
- <listitem>
- <para>Argument de sortie</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>Description</title>
- <para>Fait une multiplication particulière.</para>
- <para>Ajoutez ici plus d'informations sur cette fonction </para>
- <para>
- LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x*\pi$</latex>
- </para>
- </refsection>
- <refsection>
- <title>Exemples</title>
- <programlisting role="example">c_multiplybypi(3)</programlisting>
- </refsection>
- <refsection role="see also">
- <title>Voir aussi</title>
- <simplelist type="inline">
- <member>
- <link linkend="c_sum">c_sum</link>
- </member>
- <member>
- <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link>
- </member>
- </simplelist>
- </refsection>
-</refentry>
diff --git a/help/fr_FR/c_sub.xml b/help/fr_FR/c_sub.xml
deleted file mode 100644
index 5b121e7..0000000
--- a/help/fr_FR/c_sub.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- *
- * This file is released under the 3-clause BSD license. See COPYING-BSD.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:scilab="http://www.scilab.org" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sub" xml:lang="en">
- <refnamediv>
- <refname>c_sub</refname>
- <refpurpose>calcule de la soustraction depuis du code C</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>Séquence d'appel</title>
- <synopsis>a = c_sub(b,c)</synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>Arguments</title>
- <variablelist>
- <varlistentry>
- <term>b</term>
- <listitem>
- <para>Premier argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>c</term>
- <listitem>
- <para>Second argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a</term>
- <listitem>
- <para>Argument de sortie</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>Description</title>
- <para>calcule la soustraction.</para>
- <para>Ajoutez ici plus d'informations sur cette fonction </para>
- <para>
- LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x-y$</latex>
- </para>
- <para>Il est possible d'inclure une image en utilisant du code Scilab (il faut déclarer au préalable le namespace xmlns:scilab="http://www.scilab.org"):</para>
- <programlisting role="xml">
- <![CDATA[
- <scilab:image>
- plot3d();
- </scilab:image>
- ]]>
- </programlisting>
- <scilab:image>
- plot3d();
- </scilab:image>
- <para>Si une image contient une chaîne de caractères localisées, il faut alors ajouter l'attribut scilab:localized="true":</para>
- <programlisting role="xml">
- <![CDATA[
- <scilab:image localized="true">
- plot2d();
- xtitle("Mes jolis plots 2D");
- </scilab:image>
- ]]>
- </programlisting>
- <scilab:image localized="true">
- plot2d();
- xtitle("Mes jolis plots 2D");
- </scilab:image>
- </refsection>
- <refsection>
- <title>Exemples</title>
- <programlisting role="example">c_sub(3,4)</programlisting>
- </refsection>
- <refsection role="see also">
- <title>Voir aussi</title>
- <simplelist type="inline">
- <member>
- <link linkend="c_sum">c_sum</link>
- </member>
- <member>
- <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link>
- </member>
- </simplelist>
- </refsection>
-</refentry>
diff --git a/help/fr_FR/c_sum.xml b/help/fr_FR/c_sum.xml
deleted file mode 100644
index db218c8..0000000
--- a/help/fr_FR/c_sum.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- *
- * This file is released under the 3-clause BSD license. See COPYING-BSD.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sum" xml:lang="en">
- <refnamediv>
- <refname>c_sum</refname>
- <refpurpose>calcule de la somme depuis du code C</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>Séquence d'appel</title>
- <synopsis>a = c_sum(b,c)</synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>Arguments</title>
- <variablelist>
- <varlistentry>
- <term>b</term>
- <listitem>
- <para>Premier argument d'entréee</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>c</term>
- <listitem>
- <para>Second argument d'entréee</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a</term>
- <listitem>
- <para>Argument de sortie</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>Description</title>
- <para>calcule la somme.</para>
- <para>Ajoutez ici plus d'informations sur cette fonction </para>
- <para>
- LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x+y$</latex>
- </para>
- </refsection>
- <refsection>
- <title>Exemples</title>
- <programlisting role="example">c_sum(3,4)</programlisting>
- </refsection>
- <refsection role="see also">
- <title>Voir aussi</title>
- <simplelist type="inline">
- <member>
- <link linkend="fortran_sum">fortran_sum</link>
- </member>
- <member>
- <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link>
- </member>
- </simplelist>
- </refsection>
-</refentry>
diff --git a/help/fr_FR/fortran_sum.xml b/help/fr_FR/fortran_sum.xml
deleted file mode 100644
index 59c888a..0000000
--- a/help/fr_FR/fortran_sum.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- *
- * This file is released under the 3-clause BSD license. See COPYING-BSD.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="fortran_sum" xml:lang="en">
- <refnamediv>
- <refname>fortran_sum</refname>
- <refpurpose>calcule de la somme depuis du code fortran</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>Séquence d'appel</title>
- <synopsis>a = c_sum(b,c)</synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>Arguments</title>
- <variablelist>
- <varlistentry>
- <term>b</term>
- <listitem>
- <para>Premier argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>c</term>
- <listitem>
- <para>Second argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a</term>
- <listitem>
- <para>Argument de sortie</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>Description</title>
- <para>calcule la somme.</para>
- <para>Ajoutez ici plus d'informations sur cette fonction </para>
- <para>
- LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x+y$</latex>
- </para>
- </refsection>
- <refsection>
- <title>Exemples</title>
- <programlisting role="example">fortran_sum(3,4)</programlisting>
- </refsection>
- <refsection role="see also">
- <title>Voir aussi</title>
- <simplelist type="inline">
- <member>
- <link linkend="c_sum">c_sum</link>
- </member>
- <member>
- <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link>
- </member>
- </simplelist>
- </refsection>
-</refentry>
diff --git a/help/fr_FR/scilab_sum.xml b/help/fr_FR/scilab_sum.xml
deleted file mode 100644
index 5b14618..0000000
--- a/help/fr_FR/scilab_sum.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- *
- * This file is released under the 3-clause BSD license. See COPYING-BSD.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="scilab_sum" xml:lang="en">
- <refnamediv>
- <refname>scilab_sum</refname>
- <refpurpose>calcule de la somme depuis du code scilab</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>Séquence d'appel</title>
- <synopsis>a = scilab_sum(b,c)</synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>Arguments</title>
- <variablelist>
- <varlistentry>
- <term>b</term>
- <listitem>
- <para>Premier argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>c</term>
- <listitem>
- <para>Second argument d'entrée</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a</term>
- <listitem>
- <para>Argument de sortie</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>Description</title>
- <para>calcule la somme.</para>
- <para>Ajoutez ici plus d'informations sur cette fonction </para>
- <para>
- LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x+y$</latex>
- </para>
- </refsection>
- <refsection>
- <title>Exemples</title>
- <programlisting role="example">scilab_sum(3,4)</programlisting>
- </refsection>
- <refsection role="see also">
- <title>Voir aussi</title>
- <simplelist type="inline">
- <member>
- <link linkend="c_sum">c_sum</link>
- </member>
- <member>
- <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link>
- </member>
- </simplelist>
- </refsection>
-</refentry>
diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar
index 26f6d92..a970e9a 100644
--- a/jar/scilab_en_US_help.jar
+++ b/jar/scilab_en_US_help.jar
Binary files differ
diff --git a/macros/alignsignals.bin b/macros/alignsignals.bin
index 48bdb7d..1a8f3ec 100644
--- a/macros/alignsignals.bin
+++ b/macros/alignsignals.bin
Binary files differ
diff --git a/macros/alignsignals.sci b/macros/alignsignals.sci
index 97bf596..6000b57 100644
--- a/macros/alignsignals.sci
+++ b/macros/alignsignals.sci
@@ -36,11 +36,8 @@ function varargout = alignsignals(x,y,varargin)
// Y = [1 2 3 ];
// [Xa,Ya] = alignsignals(X,Y,[],1)
//
-// See also
-// finddelay
-//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
// Check number of input arguments
[out_a,inp_a]=argn(0)
diff --git a/macros/arithdeco.bin b/macros/arithdeco.bin
index 505f75b..307cf86 100644
--- a/macros/arithdeco.bin
+++ b/macros/arithdeco.bin
Binary files differ
diff --git a/macros/arithdeco.sci b/macros/arithdeco.sci
index 95a06b9..226c12d 100644
--- a/macros/arithdeco.sci
+++ b/macros/arithdeco.sci
@@ -1,18 +1,18 @@
function [seq] = arithdeco(code, count, len)
// This function decodes the given code using arithmetic coding
-
-// Calling sequence
+//
+// Syntax
// SEQ = ARITHDECO(CODE, COUNT, LEN)
//
// Description
// SEQ = ARITHDECO(CODE, COUNT, LEN) decodes the given received seq (CODE) to message using arithmetic coding.
-// COUNT is vector whihc gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
+// COUNT is vector which gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
// CODE is the binary arithmetic code
-
+//
// Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
// Therefore, sequence should be finite and positive
// Length of the COUNT should match the length of the source alphabet
-
+//
// Examples
// counts = [40 1 9];
// len = 11;
@@ -22,20 +22,11 @@ function [seq] = arithdeco(code, count, len)
// dseq=arithdeco(code,counts,len)
// disp(dseq)
// disp(seq)
-
-// Bibliography
-// Sayood, K., Introduction to Data Compression, Morgan Kaufmann, 2000, Chapter 4, Section 4.4.3.
-
-// See also
-// arithenco
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
-
-//*************************************************************************************************************************************//
-
- //Input argument check
+//Input argument check
[outa,inpa]=argn(0);
if(~inpa==3)
diff --git a/macros/arithenco.bin b/macros/arithenco.bin
index 429c26d..441c2ad 100644
--- a/macros/arithenco.bin
+++ b/macros/arithenco.bin
Binary files differ
diff --git a/macros/arithenco.sci b/macros/arithenco.sci
index b596924..adcd50b 100644
--- a/macros/arithenco.sci
+++ b/macros/arithenco.sci
@@ -1,9 +1,9 @@
function [code] = arithenco(seq, count)
// This function encodes the given sequence using aritmetic coding
-
+//
// Syntax
// CODE = ARITHENCO(SEQ, COUNT)
-
+//
// Description
// CODE = ARITHENCO(SEQ, COUNT) encodes the given sequence (SEQ) using arithmetic coding.
// COUNT is vector whihc gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
@@ -11,22 +11,19 @@ function [code] = arithenco(seq, count)
// Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
// Therefore, sequence should be finite and positive
// Length of the COUNT should match the length of the source alphabet
-
+//
// Examples
// counts = [40 1 9];
// len = 4;
// seq = [1 3 2 1]
// code = arithenco(seq,counts);
// disp(code)
-
+//
// Bibliography
// Sayood, K., Introduction to Data Compression, Morgan Kaufmann, 2000, Chapter 4, Section 4.4.3.
-
-// See also
-// arithdeco
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/cleanmacros.sce b/macros/cleanmacros.sce
new file mode 100644
index 0000000..a6428b2
--- /dev/null
+++ b/macros/cleanmacros.sce
@@ -0,0 +1,20 @@
+// ====================================================================
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+// ====================================================================
+function cleanmacros()
+
+ libpath = get_absolute_file_path("cleanmacros.sce");
+
+ binfiles = ls(libpath+"/*.bin");
+ for i = 1:size(binfiles,"*")
+ mdelete(binfiles(i));
+ end
+
+ mdelete(libpath+"/names");
+ mdelete(libpath+"/lib");
+endfunction
+
+cleanmacros();
+clear cleanmacros; // remove cleanmacros on stack
+
+// ====================================================================
diff --git a/macros/finddelay.bin b/macros/finddelay.bin
index 8a977dc..c5d32d5 100644
--- a/macros/finddelay.bin
+++ b/macros/finddelay.bin
Binary files differ
diff --git a/macros/finddelay.sci b/macros/finddelay.sci
index eb8e96a..00d6755 100644
--- a/macros/finddelay.sci
+++ b/macros/finddelay.sci
@@ -1,16 +1,16 @@
function d = finddelay(x,y,varargin)
// This function returns the estimated delay between two input signals using crosscorrelation.
// If signals are periodic, delay with least absolute value is returned.
-
+//
// Calling Sequence
// D = FINDDELAY(X,Y)
// D = FINDDELAY(...,MAXLAG)
-
+//
// Description
// D = FINDDELAY(X,Y), returns estimated Delay D between X
// and Y. D is positive implies Y is delayed with respect to X and vice versa.
// If X, Y are matrices, then D is a row vector corresponding to delay between columns of X and Y
-
+//
// D = FINDDELAY(...,MAXLAG), uses MAXLAG as the maximum correlation
// window size used to find the estimated delay(s) between X and Y:
//
@@ -29,7 +29,7 @@ function d = finddelay(x,y,varargin)
// -MAXLAG(J):MAXLAG(J).
//
// By default, MAXLAG is equal to MAX(LX,LY)-1 for vectors,
-
+//
// Examples
// X = [ 0 0 1 2 3 ];
// Y = [ 0 0 0 1 2 3];
@@ -39,12 +39,9 @@ function d = finddelay(x,y,varargin)
// Y = [ 0 0 1 0 ;1 0 0 2 ; 0 0 0 0 ];
// D = finddelay(X,Y)
// disp(D)
-
-// See also
-// alignsignals
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/gfcosets.bin b/macros/gfcosets.bin
index 987d207..a0ec71a 100644
--- a/macros/gfcosets.bin
+++ b/macros/gfcosets.bin
Binary files differ
diff --git a/macros/gfcosets.sci b/macros/gfcosets.sci
index ed69f86..59de7b8 100644
--- a/macros/gfcosets.sci
+++ b/macros/gfcosets.sci
@@ -15,17 +15,14 @@ function gfcs = gfcosets(m, p)
// Because the length of the cosets varies in the complete set, %nan is used to
// fill out the extra space in order to make all variables have the same
// length in the output matrix GFCS.
-
-
+//
+//
// Examples
// c = gfcosets(2,3)
// disp(c)
-
-// See also
-// gfminpol, gfprimdf, gfroots
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/gflineq.bin b/macros/gflineq.bin
index 957bee2..3525ba7 100644
--- a/macros/gflineq.bin
+++ b/macros/gflineq.bin
Binary files differ
diff --git a/macros/gflineq.sci b/macros/gflineq.sci
index 3b34529..0a2b33d 100644
--- a/macros/gflineq.sci
+++ b/macros/gflineq.sci
@@ -13,7 +13,7 @@ function [x, sflag] = gflineq(a, b, p)
// equation A X = B in GF(P) and SFLAG=1.
// If the equation has no solution, then X is empty and SFLAG = 0.
//
-
+//
// Examples
// A=[1 0 1; 1 1 0; 1 1 1]
// p=3
@@ -26,12 +26,9 @@ function [x, sflag] = gflineq(a, b, p)
// disp('Linear equation has no solution and x is empty')
// end
// disp( pmodulo(A*x,p),'B =')
-
-// See also
-// gfadd, gfconv, gfdiv, gfrank, gfroots
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/gfrepcov.bin b/macros/gfrepcov.bin
index 7ea415c..48ed26f 100644
--- a/macros/gfrepcov.bin
+++ b/macros/gfrepcov.bin
Binary files differ
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
//*************************************************************************************************************************************//
diff --git a/macros/gftrunc.bin b/macros/gftrunc.bin
index fbb0c07..6857e20 100644
--- a/macros/gftrunc.bin
+++ b/macros/gftrunc.bin
Binary files differ
diff --git a/macros/gftrunc.sci b/macros/gftrunc.sci
index de0e6e6..5381d1c 100644
--- a/macros/gftrunc.sci
+++ b/macros/gftrunc.sci
@@ -1,25 +1,21 @@
function at=gftrunc(a)
//This function is used to truncate the higher order zeroes in the given polynomial equation
-
-//Calling Sequence
+//
+// Calling Sequence
//AT=GFTRUNC(A)
-
-//Description
+//
+// Description
//A is considered to be matrix that gives the coefficients of polynomial GF(p) in ascending order powers
//A = [1 2 3] denotes 1 + 2 x + 3 x^2
//AT=GFTRUNC(A) returns a matrix which gives the polynomial GF(p) truncating the input matrix
//that is if A(i)=0, where i > d + 1, where d is the degree of the polynomial, that zero is removed
-
+//
//Examples
-//A= [ 0 0 1 4 0 0] returns [0 0 1 4]
+//A= [ 0 0 1 4 0 0]
//c = gftrunc([0 0 1 2 3 0 0 0 4 5 0 1 0 0])
-
-
-//See also
-//gfadd, gfconv, gfdeconv, gfsub, gftuple
-
+//
//Authors
-//Pola Lakshmi Priyanka, IIT Bombay//
+//Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
// Check number of input arguments
diff --git a/macros/iqcoef2imbal.bin b/macros/iqcoef2imbal.bin
index 54d08ae..cc18580 100644
--- a/macros/iqcoef2imbal.bin
+++ b/macros/iqcoef2imbal.bin
Binary files differ
diff --git a/macros/iqcoef2imbal.sci b/macros/iqcoef2imbal.sci
index 2c08c2b..16608fc 100644
--- a/macros/iqcoef2imbal.sci
+++ b/macros/iqcoef2imbal.sci
@@ -1,10 +1,10 @@
function [Amp_Imb_DB, Ph_Imb_Deg] = iqcoef2imbal(Comp_Coef)
// This function returns the amplitude imbalance and phase imbalance
// that a given compensator coefficient will correct.
-
+//
// Calling sequence
// [AMP_IMB_DB, PH_IMB_DEG] = IQCOEF2IMBAL(COMP_COEF)
-
+//
// Description
// [AMP_IMB_DB, PH_IMB_DEG] = IQCOEF2IMBAL(COMP_COEF) returns
// the amplitude imbalance and phase imbalance
@@ -12,20 +12,15 @@ function [Amp_Imb_DB, Ph_Imb_Deg] = iqcoef2imbal(Comp_Coef)
// 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.
-
+//
// Examples
// [a_imb_db,ph_imb_deq] = iqcoef2imbal([4 2 complex(-0.1145,0.1297) complex(-0.0013,0.0029)])
// disp(a_imb_db,'amplitude imbalance in dB =')
// disp(ph_imb_deq,'phase imbalance in degrees=')
-
-// Bibliography
-// http://in.mathworks.com/help/comm/ref/iqcoef2imbal.html
-
-// See also
-// iqimbal2coef
-
+//
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/iqimbal2coef.bin b/macros/iqimbal2coef.bin
index 0bf83da..0d7d51e 100644
--- a/macros/iqimbal2coef.bin
+++ b/macros/iqimbal2coef.bin
Binary files differ
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
//*************************************************************************************************************************************//
diff --git a/macros/iscatastrophic.bin b/macros/iscatastrophic.bin
index 99f7cb0..0e68d18 100644
--- a/macros/iscatastrophic.bin
+++ b/macros/iscatastrophic.bin
Binary files differ
diff --git a/macros/iscatastrophic.sci b/macros/iscatastrophic.sci
index 9c54f19..2dc1ad9 100644
--- a/macros/iscatastrophic.sci
+++ b/macros/iscatastrophic.sci
@@ -1,14 +1,10 @@
function result = iscatastrophic(trellis)
-
// This function determines if a convolutional code is catastrophic or not
-
// Calling Sequence
// RESULT = ISCATASTROPHIC(TRELLIS)
-
// Description
// RESULT = ISCATASTROPHIC(TRELLIS) returns 1 if the specified
// trellis corresponds to a catastrophic convolutional code, else 0.
-
// Examples
// eg_1.numInputSymbols = 4;
// eg_1.numOutputSymbols = 4;
@@ -22,7 +18,6 @@ function result = iscatastrophic(trellis)
// else
// disp('Example 1 is not catastrophic')
// end
-
// eg_2.numInputSymbols = 2;
// eg_2.numOutputSymbols = 4;
// eg_2.numStates = 2;
@@ -35,13 +30,8 @@ function result = iscatastrophic(trellis)
// else
// disp('Example 2 is not catastrophic')
// end
-
-
-// See also
-// istrellis
-
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/istrellis.bin b/macros/istrellis.bin
index 273fa72..2cb8404 100644
--- a/macros/istrellis.bin
+++ b/macros/istrellis.bin
Binary files differ
diff --git a/macros/istrellis.sci b/macros/istrellis.sci
index da8be0c..86e6583 100644
--- a/macros/istrellis.sci
+++ b/macros/istrellis.sci
@@ -1,30 +1,29 @@
function [isOk, status] = istrellis(S)
-
// This function checks if the given input is of trellis structure
-
+//
// Calling Sequence
// [ISOK, STATUS] = ISTRELLIS(S)
//
// Description
// [ISOK, STATUS] = ISTRELLIS(S) returns [T,''] if the given input is valid trellis structure. Otherwise ISOK is F and STATUS
// indicates the reason for invalidity
-
+//
// Fields in trellis structure are
// numInputSymbols, (number of input symbols)
// numOutputSymbols, (number of output symbols)
// numStates, (number of states)
// nextStates, (next state matrix)
// outputs, (output matrix)
-
+//
// Properties of the fields are as follows
// numInputSymbols and numOutputSymbols should be a power of 2 (as data is represented in bits).
// The 'nextStates' and 'outputs' fields are matrices of size 'numStates' x 'numInputSymbols' .
// Each element in the 'nextStates' matrix and 'output' matrix is an integer value between zero and (numStates-1).
// The (r,c) element of the 'nextStates' matrix and 'output' matrix,denotes the next state and output respectively when
// the starting state is (r-1) and the input bits have decimal representation (c-1).
-
+//
// To convert to decimal value, use the first input bit as the most significant bit (MSB).
-
+//
// Examples
// Valid trellis structure
// trellis.numInputSymbols = 4;
@@ -33,7 +32,7 @@ function [isOk, status] = istrellis(S)
// trellis.nextStates = [0 1 2 1;0 1 2 1; 0 1 2 1];
// trellis.outputs = [0 0 1 1;1 1 2 1; 1 0 1 1];
// [isok,status] = istrellis(trellis)
-
+//
// Inavlid trellis structure
// trellis.numInputSymbols = 3;
// trellis.numOutputSymbols = 3;
@@ -41,12 +40,9 @@ function [isOk, status] = istrellis(S)
// trellis.nextStates = [0 1 2 ;0 1 2 ; 0 1 2 ];
// trellis.outputs = [0 0 1 ;1 1 2 ; 1 0 1 ];
// [isok,status] = istrellis(trellis)
-
-// See also
-// iscatastrophic
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/lib b/macros/lib
index 00d40f5..cf1a67d 100644
--- a/macros/lib
+++ b/macros/lib
@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<scilablib name="FOSSEE_Communication_Systems_Toolboxlib">
- <macro name="alignsignals" file="alignsignals.bin" md5="6795c5e3a80214bc558a8de3cb9e70ed"/>
- <macro name="arithdeco" file="arithdeco.bin" md5="9b79360e11022a61df294c3faf92dd4c"/>
- <macro name="arithenco" file="arithenco.bin" md5="5f797fa534d618e26419f0e07b494426"/>
- <macro name="finddelay" file="finddelay.bin" md5="780f1ae166109a71498a132f4db4da36"/>
- <macro name="gfcosets" file="gfcosets.bin" md5="491594b4052aec2305005e6ddd217658"/>
- <macro name="gflineq" file="gflineq.bin" md5="bb3e6416db103d09fa5a314dfef539e8"/>
- <macro name="gfrepcov" file="gfrepcov.bin" md5="28da79e826fe62a9b4bab2bbfa11c6ed"/>
- <macro name="gftrunc" file="gftrunc.bin" md5="fe2e351203028638df0022bb6c64cc90"/>
- <macro name="iqcoef2imbal" file="iqcoef2imbal.bin" md5="97c879ba51333778a30f7dde84d4d56f"/>
- <macro name="iqimbal2coef" file="iqimbal2coef.bin" md5="4feef6170bda7abbbabde79aae78eff4"/>
- <macro name="iscatastrophic" file="iscatastrophic.bin" md5="278f799083ff369a67f159458175829b"/>
- <macro name="istrellis" file="istrellis.bin" md5="4f81dbadca9dc852b04bf2ff3298608c"/>
- <macro name="lteZadoffChuSeq" file="lteZadoffChuSeq.bin" md5="2902786966ab019c3619dab250a26f7e"/>
- <macro name="ssbdemod" file="ssbdemod.bin" md5="bbc800029ef280969229d9c26b7eac5a"/>
+ <macro name="alignsignals" file="alignsignals.bin" md5="cb116d6026da95835054abdc45a0c635"/>
+ <macro name="arithdeco" file="arithdeco.bin" md5="bb69e85438c5f175f807cd1013e3de7c"/>
+ <macro name="arithenco" file="arithenco.bin" md5="34b06803adf8ed10832552f6bb6dca5b"/>
+ <macro name="finddelay" file="finddelay.bin" md5="6d397aa5c6a72e9f557b10e000a21428"/>
+ <macro name="gfcosets" file="gfcosets.bin" md5="f928635d1206c467840183b84f016a4b"/>
+ <macro name="gflineq" file="gflineq.bin" md5="b9d05708651815a112dd7a18ea356583"/>
+ <macro name="gfrepcov" file="gfrepcov.bin" md5="e550ee23c65d6f84dc519a5f2d7e2343"/>
+ <macro name="gftrunc" file="gftrunc.bin" md5="9e0e57094deb06fc1279318a609c892b"/>
+ <macro name="iqcoef2imbal" file="iqcoef2imbal.bin" md5="458754b3c5b8f84cff43b09633cbfe0a"/>
+ <macro name="iqimbal2coef" file="iqimbal2coef.bin" md5="0cf10b0d70f133d030c5154167e55f94"/>
+ <macro name="iscatastrophic" file="iscatastrophic.bin" md5="40ea9c8cceda9749ab324a096b3025e7"/>
+ <macro name="istrellis" file="istrellis.bin" md5="f3fab41ac8416f201ad0767e9fac1e2c"/>
+ <macro name="lteZadoffChuSeq" file="lteZadoffChuSeq.bin" md5="857ddd243d196eca04951182873c74eb"/>
+ <macro name="octave_functions" file="octave_functions.bin" md5="ac3663346a69f18847150b5853a62557"/>
+ <macro name="ssbdemod" file="ssbdemod.bin" md5="3af17103272263af9cf40f35d2a2499b"/>
</scilablib>
diff --git a/macros/lteZadoffChuSeq.bin b/macros/lteZadoffChuSeq.bin
index 02d0fb4..f7505fb 100644
--- a/macros/lteZadoffChuSeq.bin
+++ b/macros/lteZadoffChuSeq.bin
Binary files differ
diff --git a/macros/lteZadoffChuSeq.sci b/macros/lteZadoffChuSeq.sci
index 9f4a6c1..862e268 100644
--- a/macros/lteZadoffChuSeq.sci
+++ b/macros/lteZadoffChuSeq.sci
@@ -7,23 +7,23 @@ function seq = lteZadoffChuSeq(R, N)
// Description
// SEQ = LTEZADOFFCHUSEQ(R, N) generates the Rth root Zadoff-Chu sequence (SEQ)
// of length N.
-
+//
// Examples
// seq1 = lteZadoffChuSeq(2, 3)
// disp(seq1,'seq1')
-// Error should occur because inputs are not co primes
+// //Error should occur because inputs are not co primes
// seq2 = lteZadoffChuSeq(25, 5)
// disp(seq2,'seq2')
-
-
+//
+//
// Bibliography
// 3rd Generation Partnership Project, Technical Specification Group Radio
// Access Network, Evolved Universal Terrestrial Radio Access (E-UTRA),
// Physical channels and modulation, Release 10, 3GPP TS 36.211, v10.0.0,
// 2010-12.
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//
diff --git a/macros/octave_functions.bin b/macros/octave_functions.bin
new file mode 100644
index 0000000..0a8e662
--- /dev/null
+++ b/macros/octave_functions.bin
Binary files differ
diff --git a/macros/octave_functions.sci b/macros/octave_functions.sci
new file mode 100644
index 0000000..26ba9e2
--- /dev/null
+++ b/macros/octave_functions.sci
@@ -0,0 +1,63 @@
+// Copyright (C) 2019 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Rupak Rokade
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+function [y] = octave_functions()
+ // Call functions available in communications (and any other) package of Octave. The actual function call is "octave_fun" and is available as a part of "FOSSEE-Scilab-Octave-Toolbox"
+ //
+ // Syntax
+ // [y1, y2, ...] = octave_fun("octave_function",input1,input2,...)
+ // [y1, y2, ...] = octave_fun("octave_function",input1,input2,...,optional_input1,optional_input2,...)
+ // [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...)
+ // [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...,optional_input1,optional_input2,...)
+ //
+ // Parameters
+ // y : ouput as returned by octave. It can be a vector or matrix of doubles
+ // octave_function : name of the function in octave that has to be called. It has to be a string in double quotes
+ // input : input as expected by the octave function. It can be a vector or matrix of doubles
+ // optional_input : an optional argument that the given octave function can accept. It has to be a string in double quotes
+ // octave_package : name of the package in octave that has to be loaded as required by the octave function. It has to be a string in double quotes
+ //
+ // Description
+ // This function accepts an octave function name with the relevant inputs and returns the output as generated. It requires Octave to be installed along with necessary packages.
+ //
+ // <latex>
+ // \begin{eqnarray}
+ // &\mbox{min}_{x}
+ // & C^Tâ‹…x \\
+ // & \text{subject to}& Aâ‹…x = b \\
+ // & & Gâ‹…x \preceq_K h \\
+ // & & x_i \in \{0,1\}, i \in \!\, bool_vars\
+ // & & x_j \in \!\, \mathbb{Z}, i \in \!\, int_vars\\
+ // \end{eqnarray}
+ // </latex>
+ //
+ // Examples
+ //
+ // // Reshape a given array using octave and its "communications" package.
+ // // See help in octave for more information about "reshape" function.
+ // // Note that this example requires the "communications" package to be installed in octave and the "FOSSEE-Scilab-Octave-Toolbox" loaded in scilab.
+ // x = [1, 2, 3, 4];
+ // dim1 = 2;
+ // dim2 = 2;
+ // output = octave_fun("reshape", "communications", x, dim1, dim2)
+ //
+ // Examples
+ //
+ // // Compute the Q function using octave and its "communications" package.
+ // // See help in octave for more information about "qfunc" function.
+ // // Note that this example requires the "communications" package to be installed in octave and the "FOSSEE-Scilab-Octave-Toolbox" loaded in scilab.
+ // M = [1, 2; 3, 4];
+ // output = octave_fun("qfunc", "communications", M)
+ //
+// Authors
+// Rupak Rokade
+endfunction
diff --git a/macros/ssbdemod.bin b/macros/ssbdemod.bin
index 84336e2..06966b2 100644
--- a/macros/ssbdemod.bin
+++ b/macros/ssbdemod.bin
Binary files differ
diff --git a/macros/ssbdemod.sci b/macros/ssbdemod.sci
index 7271cf9..c6da89a 100644
--- a/macros/ssbdemod.sci
+++ b/macros/ssbdemod.sci
@@ -1,12 +1,11 @@
-function z = ssbdemod(y, Fc, Fs, varargin)
-
+function z = ssbdemod(y, Fc, Fs, varargin)
// This function performs Single Side Band Amplitude Demodulation
-
+//
// Calling Sequence
// Z = SSBDEMOD(Y,Fc,Fs)
// Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE)
// Z = SSBDEMOD(Y,Fc,Fs,INI_PHASE,NUM,DEN)
-
+//
// Description
// Z = SSBDEMOD(Y,Fc,Fs)
// demodulates the single sideband amplitude modulated signal Y
@@ -24,10 +23,10 @@ function z = ssbdemod(y, Fc, Fs, varargin)
//
// Fs must satisfy Fs >2*(Fc + BW), where BW is the bandwidth of the
// modulating signal.
-
-
+//
+//
// Examples
-
+//
// Fs =200;
// t = [0:2*Fs+1]'/Fs;
// ini_phase = 5;
@@ -58,12 +57,9 @@ function z = ssbdemod(y, Fc, Fs, varargin)
// title('Demodulated signal');
// subplot(3,1,3); plot(axis,zz1);
// title('Spectrum of Demodulated signal');
-
-// See also
-// ssbmod
-
+//
// Authors
-// Pola Lakshmi Priyanka, IIT Bombay//
+// Pola Lakshmi Priyanka, IIT Bombay
//*************************************************************************************************************************************//