Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

    Generates normally distributed pseudorandom numbers.


    randnormal('seed', s)
    c = randnormal
    c = randnormal(a)
    c = randnormal(a, b)
    c = randnormal(a, b, ...)
    Legacy name: randn



    If used, the function generates the same series of pseudorandom numbers.


    Number of rows in c. a is a non-negative integer.


    Number of columns in c. b is a non-negative integer. If b is zero, the function returns an empty array.


    Further parameters for specifying the number of elements in higher dimensions. You can replace one parameter for any dimension with an empty array, for example, reshapemx([1,2,3,4,5,6], 2, []). The array then is a placeholder for an unspecified size. MathScript uses the array size and the reshape size to calculate the unspecified size automatically.


    Seed of the pseudorandom number generator used for the next call of the function.



    Array of normally distributed pseudorandom numbers. If you do not specify b, c returns a square matrix of length a. The elements in c have an approximate mean of 0 and an approximate standard deviation of 1.


    Seed of the pseudorandom number generator.