RAND_m

Block Screenshot

Contents

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 matrices.

Dialog box

Datatype(1=real double 2=complex)

It indicates the type of the output. It support only the two types double (1) and complex (2). If we input another entry in this label Scicos will print the message "Datatype is not supported".

Properties : Type 'vec' of size 1.

flag

0 or 1.

0 for uniform distribution on [A,A+B].

1 for normal distribution.

Properties : Type 'vec' of size 1.

A

matrix

Properties : Type 'mat' of size [-1,-2].

B

matrix

Properties : Type 'mat' of size [-1,-2].

seed

matrix

Seed value for a sequence of random number.

First number is for the real part and the second for the imaginary part.