Generates an array containing periodic random noise (PRN). Details
![]() |
samples is the number of samples of the Periodic Random Noise. The default is 128. |
![]() |
spectral amplitude is the magnitude of the frequency domain components of the Periodic Random Noise. |
![]() |
seed is the seed value used in generating the random phase of the periodic random noise. The default is -1. If seed is less than or equal to 0, the random phase generator is not reseeded. |
![]() |
Periodic Random Noise is the output array containing periodic random noise. |
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
The output array contains all frequencies that can be represented with an integral number of cycles in the requested number of samples. Each frequency-domain component has a magnitude of spectral amplitude and random phase.
Another way of thinking of the output array of the Periodic Random Noise VI is that it is a summation of sinusoidal signals with the same amplitudes but with random phases. The unit of spectral amplitude is the same as the output Periodic Random Noise and is a linear measure of amplitude, similar to other signal generation VIs.
The Periodic Random Noise VI generates the same periodic random sequence for a given positive seed value. The Periodic Random Noise VI does not reseed the random phase generator if seed is negative.
The output Periodic Random Noise is bounded by the following values
You can use periodic random noise to compute the frequency response of a linear system in one time record instead of averaging the frequency response over several time records, as you must for nonperiodic random noise sources.
You do not need to window periodic random noise before performing spectral analysis because periodic random noise is self-windowing and therefore has no spectral leakage. This is because periodic random noise contains only integral-cycle sinusoids.