Introduction
The tcSigProcNoise class provides utility methods useful for generating noise vectors in the digital signal processor. The tcSigProcNoise class leverages the rand() function from the TI BIOS libraries.
- See also:
- MityDSP::tcSigProcNoise Class Reference
Example
This is a simple example of tcSigProcNoise usage:
{
float mean = 5.0;
float std = 3.0;
float vector[500];
tcSigProcNoise::Seed(CLK_gethtime());
for (int index = 0; index < 500; index++)
{
vector[index] = tcSigProcNoise::Gaussian()*std+mean;
}
}