# ContinuousRandom

This block is a continuous random wave generator. Each output component takes piecewise constant random values. Each time an event is received on the block input activation port, the outputs take new independent random values. The output port size is given by the size of the parameter matrices. You can select the distribution.

## Library

SignalGenerators

## Description

The ContinuousRandom block is a continuous 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 the parameters matrices. You can choose the distribution.

Supported distributions are: Uniform, Normal, Lognormal, Beta, Gamma, Chi-squared, Exponential, F, T, Pearson I, Pearson III, Pearson V, Pearson VII, Inverse Gamma, Inverse Beta.

## Parameters

Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|

| Select a distribution : | Probability distribution. Default value: 'uniform'. | Structure | |

| Uniform | Number | 0 | |

| Standard Normal | Number | 0 | |

| Log-Normal | Number | 0 | |

| Beta | Number | 0 | |

| Gamma | Number | 0 | |

| Chi-squared | Number | 0 | |

| Exponential | Number | 0 | |

| F-distribution | Number | 0 | |

| T-distribution | Number | 0 | |

| Pearson | Number | 0 | |

| Inverse Gamma | Number | 0 | |

| Inverse Beta | Number | 0 | |

| Seed (-1 for automatic) | Seed for the random generator (scalar). seed must be an integer between 0 and 2^32-1. Negative value for seed means automatic selection. | Matrix | |

| Uniform distribution parameters | Uniform probability distribution parameters. | Structure | |

| Lower bound | Cell of matrices | ||

| Upper bound | Cell of matrices | ||

| Normal distribution parameters | Standard normal probability distribution parameters. | Structure | |

| Mean | Cell of matrices | ||

| Standard deviation (>0) | Cell of matrices | ||

| Log-Normal distribution parameters | Log-Normal probability distribution parameters. | Structure | |

| Mean | Cell of matrices | ||

| Standard deviation (>0) | Cell of matrices | ||

| Beta distribution parameters | Beta probability distribution parameters. | Structure | |

| First shape (Alpha) (>0) | Cell of matrices | ||

| Second shape (Beta) (>0) | Cell of matrices | ||

| Gamma distribution parameters | Gamma probability distribution parameters. | Structure | |

| Shape (K) (>0) | Cell of matrices | ||

| Scale (Theta) (>0) | Cell of matrices | ||

| Chi-squared distribution parameters | Chi-squared probability distribution parameters. | Structure | |

| Degree of freedom | Cell of matrices | ||

| Exponential distribution parameters | Exponential probability distribution parameters. | Structure | |

| Lambda (rate) (>0) | Cell of matrices | ||

| F-distribution parameters | F probability distribution parameters. | Structure | |

| Degrees of freedom 1 (>0) | Cell of matrices | ||

| Degrees of freedom 2 (>0) | Cell of matrices | ||

| T-distribution parameters | T probability distribution parameters. | Structure | |

| Degree of freedom (>0) | Cell of matrices | ||

| Pearson distribution parameters | Pearson probability distribution parameters. | Structure | |

| Mean | Cell of matrices | ||

| Variance (>0) | Cell of matrices | ||

| Skewness | Cell of matrices | ||

| Kurtosis | Cell of matrices | ||

| Inverse-Gamma distribution parameters | Inverse-Gamma probability distribution parameters. | Structure | |

| Shape (Alpha) (>0) | Cell of matrices | ||

| Scale (Beta) (>0) | Cell of matrices | ||

| Inverse-Beta distribution parameters | Inverse-Beta probability distribution parameters. | Structure | |

| First shape (Alpha) (>0) | Cell of matrices | ||

| Second shape (Beta) (>0) | Cell of matrices |

## Ports

Name | Type | Description | IO Type | Number |
---|---|---|---|---|

| explicit | output | 1 | |

| activation | input | 1 |

## Advanced Properties

Name | Value | Description |
---|---|---|

| no | Time Dependency = standard mode activated |

| no | |

| no | |

| no | |

| no | |

| yes |