Scicos Block
fr - eng

##
Quantization

### Contents

- Quantization
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- Non_linear - Non-Linear palette

### Description

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

1. Round method:

2. Truncation method:

3. Floor method:

4. Ceil method:

### Dialog box

- Step
  scalar, Quantization step
  Properties : Type 'vec' of size 1.

- Quantization Type
  scalar with possible values 1,2,3 or 4
  1
    Round method
  2
    Truncation method
  3
    Floor method
  4
    Ceil method
  Properties : Type 'vec' of size 1.

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
  - port 1 : size [-1,1] / type 1
- regular outputs:
  - port 1 : size [-1,1] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: qzrnd

### Interfacing function

- SCI/macros/scicos_blocks/NonLinear/QUANT_f.sci [view code]

### Computational function

- SCI/routines/scicos/qzrnd.f [view code]
- SCI/routines/scicos/qztrn.f [view code]
- SCI/routines/scicos/qzflr.f [view code]
- SCI/routines/scicos/qzcel.f [view code]

### Authors

Ramine Nikoukhah INRIA