gendist

gendist generates a 1xN dimension array with a gaussian/normal or uniform distribution.

You are now following this Submission

This function requires the input of the following parameters:
-N: the array's dimension (number of samples).
-mean: the distribution's mean.
-variance: the distribution's variance.
-distribution: the type of distribution. For a gaussian/normal distribution, use the 'gaussian' string; for a uniform distribution, use the 'uniform' string. However, when working with uniform distributions, it is more common to specify their domains, instead of their means and variances. In this case, the 'null' string must be introduced as the mean and variance parameters.
-a: in a uniform distribution, the initial point of the domain.
-b: in a uniform distribution, the last point of the domain.

Cite As

Vicente Núñez García (2026). gendist (https://se.mathworks.com/matlabcentral/fileexchange/73768-gendist), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0