From d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce Mon Sep 17 00:00:00 2001 From: rupak Date: Tue, 21 Jan 2020 19:05:09 +0530 Subject: added help files --- help/en_US/scilab_en_US_help/arithenco.html | 36 +++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'help/en_US/scilab_en_US_help/arithenco.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 @@
- << FOSSEE_Communication_Systems_Toolbox + << arithdeco @@ -20,7 +20,8 @@ - + finddelay >> +

@@ -33,6 +34,32 @@

arithenco

This function encodes the given sequence using aritmetic coding

+ + +

Syntax

+
CODE = ARITHENCO(SEQ, COUNT)
+ +

Description

+

CODE = ARITHENCO(SEQ, COUNT) encodes the given sequence (SEQ) using arithmetic coding. +COUNT is vector whihc gives information about the source statistics (i.e. frequency of each symbol in the source alphabet) +CODE is the binary arithmetic code +Source Alphabet is assumed to be {1,2,....N} where N is a positive integer +Therefore, sequence should be finite and positive +Length of the COUNT should match the length of the source alphabet

+

+ +

Examples

+
counts = [40 1 9];
+len = 4;
+seq = [1 3 2 1]
+code = arithenco(seq,counts);
+disp(code)
+ +

Bibliography

+

Sayood, K., Introduction to Data Compression, Morgan Kaufmann, 2000, Chapter 4, Section 4.4.3.

+ +

Authors

+

@@ -40,7 +67,7 @@ Report an issue - << FOSSEE_Communication_Systems_Toolbox + << arithdeco @@ -48,7 +75,8 @@ - + finddelay >> +
-- cgit