summaryrefslogtreecommitdiff
path: root/help/en_US/scilab_en_US_help/uencode.html
diff options
context:
space:
mode:
authorshamikam2017-11-07 15:59:48 +0530
committershamikam2017-11-07 15:59:48 +0530
commitc0c0582462720ed597b00e116506570577614e89 (patch)
tree31dedd23698e5357b19c810b7d7a8464100ef44a /help/en_US/scilab_en_US_help/uencode.html
downloadFOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.tar.gz
FOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.tar.bz2
FOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.zip
initial commit
Diffstat (limited to 'help/en_US/scilab_en_US_help/uencode.html')
-rw-r--r--help/en_US/scilab_en_US_help/uencode.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/help/en_US/scilab_en_US_help/uencode.html b/help/en_US/scilab_en_US_help/uencode.html
new file mode 100644
index 0000000..e79ca83
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/uencode.html
@@ -0,0 +1,87 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>uencode</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="udecode.html">&lt;&lt; udecode</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="ultrwin.html">ultrwin &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> &gt;&gt; <a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a> &gt; uencode</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">uencode</h1>
+ <p class="refpurpose">Performs uniform quantization of the input into 2^n levels</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3>
+ <div class="synopsis"><pre><span class="default">y</span><span class="default">=</span><span class="functionid">uencode</span><span class="default">(</span><span class="default">u</span><span class="default">,</span><span class="default">n</span><span class="default">,</span><span class="default">v</span><span class="default">,</span>&#0039;<span class="default">signflag</span>&#0039;<span class="default">)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Parameters</h3>
+ <dl></dl></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">Uniformly quantizes the input vector or n-dimensional array u into 2^n levels in the interval [-v,v]
+If v is not specified, its default value is 1
+&#0039;signflag&#0039; is a string that determines the nature of the quantization
+If signflag=&#0039;unsigned&#0039; then y contains unsigned integers in the range [0,2^n-1] corresponding to the 2^n levels
+If signflag=&#0039;unsigned&#0039; then y contains signed integers in the range [-2^(n-1),2^(n-1)-1] corresponding to the 2^n levels
+The size of the integers in y in bits(8,16, or 32) depends on the value of n
+If the input lies beyond +/- v it is saturated
+Example
+y=uencode(-1:0.5:1,3)
+y =</p>
+ <p class="para">0 2 4 6 7
+Author
+Ankur Mallick
+References
+[1] International Telecommunication Union. General Aspects of Digital Transmission Systems: Vocabulary of Digital Transmission and Multiplexing, and Pulse Code Modulation (PCM) Terms. ITU-T Recommendation G.701. March, 1993.</p></div>
+
+<div class="refsection"><h3 class="title">See also</h3>
+ <ul class="itemizedlist"><li class="member"><a href="udecode.html" class="link">udecode</a></li>
+ <li class="member"><a href="scilab://floor" class="link">floor</a></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="udecode.html">&lt;&lt; udecode</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="ultrwin.html">ultrwin &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>