Scicos Block
fr - eng

##
Random generator (Old block)

### Contents

- Random generator (Old block)
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- OldBlocks - Old blocks palette

### Description

This block is a random wave generator: each output component takes piecewise constant random values. Every time an event is received on the input event port, the outputs take new independent random values.
Output port size is given by the size of A and B vectors.

### Dialog box

- flag
  0 or 1.
  0 for uniform distribution on [A,A+B].
  1 for normal distribution.
  Properties : Type 'vec' of size 1.

- A
  vector
  Properties : Type 'vec' of size 1.

- B
  vector
  Properties : Type 'vec' of size 1.

- seed
  scalar
  Seed value for a sequence of random number.
  Properties : Type 'vec' of size 1.

### Default properties

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

### Interfacing function

- SCI/macros/scicos_blocks/Sources/RAND_f.sci [view code]

### Computational function

- SCI/routines/scicos/rndblk.f (Type 0) [view code]

### Authors

Ramine Nikoukhah INRIA