gauss

Navigation:  Language Reference > Functions > Source >

gauss

Previous pageReturn to chapter overviewNext page

Syntax

y = gauss(x,s);

Description

Returns gaussian noise with a variance x and seed s. The seed parameter is optional. When omitted, the default value (0) is used.

Examples

x = 20;

y = gauss(x);

z = gauss(x,450);

Limitations

x and y must be scalars.The seed s must be a number in the region <0,65535>.