diff options
author | rupak | 2020-01-21 19:05:09 +0530 |
---|---|---|
committer | rupak | 2020-01-21 19:05:09 +0530 |
commit | d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce (patch) | |
tree | 8987d169ad87e930f137122a450c02dc5d13dcc5 /help/en_US/arithenco.xml | |
parent | 36aca8aaaee5cf8cb5452268fd07c0b558b000a3 (diff) | |
download | FOSSEE-Communication-Systems-Toolbox-d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce.tar.gz FOSSEE-Communication-Systems-Toolbox-d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce.tar.bz2 FOSSEE-Communication-Systems-Toolbox-d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce.zip |
Diffstat (limited to 'help/en_US/arithenco.xml')
-rw-r--r-- | help/en_US/arithenco.xml | 46 |
1 files changed, 46 insertions, 0 deletions
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> |