Scicos Block
fr - eng


Quantization

\epsfig{file=QUANT_f.eps,height=90pt}

Contents

Palette

Description

This block outputs the quantization of the input according to a choice of methods:

  1. Round method:

    \begin{eqnarray}
y(i)&={\rm Step}*({\rm int}(u(i)/{\rm Step}+0.5)-0.5) &\texttt...
...}*({\rm int}(u(i)/{\rm Step}-0.5)+0.5) &\texttt{if} \; u(i)>=0 .
\end{eqnarray}


  2. Truncation method:

    \begin{eqnarray}
y(i)&={\rm Step}*({\rm int}(u(i)/{\rm Step}+0.5)) &\texttt{if}...
... Step}*({\rm int}(u(i)/{\rm Step}-0.5)) &\texttt{if} \; u(i)>=0 .
\end{eqnarray}


  3. Floor method:

    \begin{eqnarray}
y(i)&={\rm Step}*({\rm int}(u(i)/{\rm Step}+0.5)) .
\end{eqnarray}


  4. Ceil method:

    \begin{eqnarray}
y(i)&={\rm Step}*({\rm int}(u(i)/{\rm Step}-0.5))
\end{eqnarray}


Dialog box

\begin{figure}\begin{center}
\epsfig{file=QUANT_f_gui.eps,width=260pt}
\end{center}\end{figure}

Default properties

Interfacing function

Computational function

Authors

Ramine Nikoukhah INRIA