diff options
Diffstat (limited to 'help/en_US')
42 files changed, 2537 insertions, 9 deletions
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>=Length(X), all samples of X are lost. +Similarly, when -D>=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> +> 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. +> 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. +> 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 > 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} +&\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> + </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 Binary files differindex 22646bd..065f3cd 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS 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 Binary files differindex eeb46b1..42fcc13 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS 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 Binary files differindex 6ca29d9..d6bf32e 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP 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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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>=Length(X), all samples of X are lost. +Similarly, when -D>=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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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"><< 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 >></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"><< FOSSEE_Communication_Systems_Toolbox</a></span> + <span class="previous"><a href="arithdeco.html"><< 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 >></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"><< FOSSEE_Communication_Systems_Toolbox</a></span> + <span class="previous"><a href="arithdeco.html"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">> 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. +> 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. +> 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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">'</span><span class="scilabstring">A=</span><span class="scilabstring">'</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">'</span><span class="scilabstring">x=</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Linear equation has solution x</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Linear equation has no solution and x is empty</span><span class="scilabstring">'</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">'</span><span class="scilabstring">B =</span><span class="scilabstring">'</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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 > 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"><< 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 >></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> — <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> — <span class="refentry-description">This function aligns the two input signals.</span></li> + + + + + +<li><a href="arithdeco.html" class="refentry">arithdeco</a> — <span class="refentry-description">This function decodes the given code using arithmetic coding</span></li> + + + + + +<li><a href="arithenco.html" class="refentry">arithenco</a> — <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li> + + + + + +<li><a href="finddelay.html" class="refentry">finddelay</a> — <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> — <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> — <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> — <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> — <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> — <span class="refentry-description">This function returns the amplitude imbalance and phase imbalance</span></li> + + + + + +<li><a href="iqimbal2coef.html" class="refentry">iqimbal2coef</a> — <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> — <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> — <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> — <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> — <span class="refentry-description">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"</span></li> + + + + + +<li><a href="ssbdemod.html" class="refentry">ssbdemod</a> — <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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">'</span><span class="scilabstring">amplitude imbalance in dB =</span><span class="scilabstring">'</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">'</span><span class="scilabstring">phase imbalance in degrees=</span><span class="scilabstring">'</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">'</span><span class="scilabstring">amplitude imbalance in dB =</span><span class="scilabstring">'</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">'</span><span class="scilabstring">phase imbalance in degrees=</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Compensator Coefficients=</span><span class="scilabstring">'</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">'</span><span class="scilabstring">Example 1 is catastrophic</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Example 1 is not catastrophic</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Example 2 is catastrophic</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Example 2 is not catastrophic</span><span class="scilabstring">'</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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,''] 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 '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).</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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">'</span><span class="scilabstring">seq1</span><span class="scilabstring">'</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">'</span><span class="scilabstring">seq2</span><span class="scilabstring">'</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"><< 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 >></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"><< 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 >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">FOSSEE_Communication_Systems_Toolbox</a> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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 "octave_fun" and is available as a part of "FOSSEE-Scilab-Octave-Toolbox"</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>"<span class="default">octave_function</span>"<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>"<span class="default">octave_function</span>"<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>"<span class="default">octave_function</span>"<span class="default">,</span>"<span class="default">octave_package</span>"<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>"<span class="default">octave_function</span>"<span class="default">,</span>"<span class="default">octave_package</span>"<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">"</span><span class="scilabcomment">communications</span><span class="scilabcomment">"</span><span class="scilabcomment"> package.</span> +<span class="scilabcomment">// See help in octave for more information about </span><span class="scilabcomment">"</span><span class="scilabcomment">reshape</span><span class="scilabcomment">"</span><span class="scilabcomment"> function.</span> +<span class="scilabcomment">// Note that this example requires the </span><span class="scilabcomment">"</span><span class="scilabcomment">communications</span><span class="scilabcomment">"</span><span class="scilabcomment"> package to be installed in octave and the </span><span class="scilabcomment">"</span><span class="scilabcomment">FOSSEE-Scilab-Octave-Toolbox</span><span class="scilabcomment">"</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">"</span><span class="scilabstring">reshape</span><span class="scilabstring">"</span><span class="scilabdefault">,</span> <span class="scilabstring">"</span><span class="scilabstring">communications</span><span class="scilabstring">"</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">"</span><span class="scilabcomment">communications</span><span class="scilabcomment">"</span><span class="scilabcomment"> package.</span> +<span class="scilabcomment">// See help in octave for more information about </span><span class="scilabcomment">"</span><span class="scilabcomment">qfunc</span><span class="scilabcomment">"</span><span class="scilabcomment"> function.</span> +<span class="scilabcomment">// Note that this example requires the </span><span class="scilabcomment">"</span><span class="scilabcomment">communications</span><span class="scilabcomment">"</span><span class="scilabcomment"> package to be installed in octave and the </span><span class="scilabcomment">"</span><span class="scilabcomment">FOSSEE-Scilab-Octave-Toolbox</span><span class="scilabcomment">"</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">"</span><span class="scilabstring">qfunc</span><span class="scilabstring">"</span><span class="scilabdefault">,</span> <span class="scilabstring">"</span><span class="scilabstring">communications</span><span class="scilabstring">"</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"><< 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 >></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> — <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> — <span class="refentry-description">This function aligns the two input signals.</span></li> + + + + + +<li><a href="arithdeco.html" class="refentry">arithdeco</a> — <span class="refentry-description">This function decodes the given code using arithmetic coding</span></li> + + + + + +<li><a href="arithenco.html" class="refentry">arithenco</a> — <span class="refentry-description">This function encodes the given sequence using aritmetic coding</span></li> + + + + + +<li><a href="finddelay.html" class="refentry">finddelay</a> — <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> — <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> — <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> — <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> — <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> — <span class="refentry-description">This function returns the amplitude imbalance and phase imbalance</span></li> + + + + + +<li><a href="iqimbal2coef.html" class="refentry">iqimbal2coef</a> — <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> — <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> — <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> — <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> — <span class="refentry-description">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"</span></li> + + + + + +<li><a href="ssbdemod.html" class="refentry">ssbdemod</a> — <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"><< 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> >> <a href="section_1f049b1e3111e3d1d538e7603f77f589.html">FOSSEE_Communication_Systems_Toolbox</a> > 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 >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">'</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">'</span><span class="scilabstring"> Message signal</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Amplitude modulated signal</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Spectrum of amplitude modulated signal</span><span class="scilabstring">'</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">'</span><span class="scilabstring"> Modulated signal</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Demodulated signal</span><span class="scilabstring">'</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">'</span><span class="scilabstring">Spectrum of Demodulated signal</span><span class="scilabstring">'</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"><< 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 >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> |