Random Source

Description of the Random Source component in Schematic Editor, which outputs a random waveform.

Figure 1. Random Source icon

Description

The Random Source component outputs a random signal with a Uniform, Normal, Weibull, or Exponential distribution.

Ports

  • Output (out)
    • Random waveform.
      • Supported types: real.

Properties

  • Distribution type
    • Select the distribution type. It can be Uniform, Normal, Weibull, or Exponential.
  • If Uniform is selected as Distribution type, the following properties can be used:
    • Maximum Value
      • Specifies the maximum value of the random signal. This property can be set only as a scalar.
    • Minimum Value
      • Specifies the minimum value of the random signal. This property can be set only as a scalar.

    The density plot of the Uniform distribution is illustrated in Figure 2.

    Figure 2. Uniform distribution density plot
  • If Normal is selected as Distribution type, the following properties can be used:
    • Mean Value
      • Specifies the mean value of the random signal. This property can be set only as a scalar.
    • Standard Deviation
      • Specifies the standard deviation of the random signal. This property can be set only as a scalar.

    The density plot of the Normal distribution is illustrated in Figure 3.

    Figure 3. Normal distribution density plot
  • If Weibull is selected as Distribution type, the following properties can be used:
    • Scale Parameter
      • Specifies the scale parameter for Weibull distribution. This property can be set only as a positive and scalar.
    • Standard Deviation
      • Specifies the shape parameter for Weibull distribution. This property can be set only as a positive and scalar.

    The density plot of the Weibull distribution is illustrated in Figure 4.

    Figure 4. Weibull distribution density plot
  • If Exponential is selected as Distribution type, the following properties can be used:
    • Rate Parameter
      • Specifies the rate parameter (inverse of mean) for Exponential distribution. This property can be set only as scalar.

    The density plot of the Exponential distribution is illustrated in Figure 5.

    Figure 5. Exponential distribution density plot
  • Execution rate
    • Type in the desired signal processing execution rate. This value must be compatible with other signal processing components of the same circuit: the value must be a multiple of the fastest execution rate in the circuit. There can be up to four different execution rates. To specify the execution rate, you can use either decimal (e.g. 0.001) or exponential values (e.g. 1e-3) in seconds. Alternatively, you can type in ‘inherit’ in which case the component will be assigned execution rate based on the execution rate of the components it is receiving input from.