Hello,
Can somebody please tell me how to generate a noise signal on the
basis
of its statistical characteristics?
i want to create a c++ function with the following syntax:
=============================================================
valarray<double> GenerateNoise(int type,double* stats, size_t
sample_size)
=============================================================
arguments:
type - GAUSSIAN, POISSON, UNIFORM
stats - an array of moments
stats[0] = mean
stats[1] = variance
sample_size - size of noise signal required
=============================================================
return value:
valarray<double> of size sample_size
=============================================================
Now what i want to know is a good way to compute the noise values. I
would prefer to compute these values in a flexible manner so that i
can
configure the noise type easily.
ideas please. im trying on my own too but suggestions are definitely
going to reduce the time ill take to finish this function.
thankx
siddharth
Hello,
Can somebody please tell me how to generate a noise signal on the basis
of its statistical characteristics?
....
Hello,
Can somebody please tell me how to generate a noise signal on the basis
of its statistical characteristics?
i want to create a c++ function with the following syntax:
=============================================================
valarray<double> GenerateNoise(int type,double* stats, size_t
sample_size)
=============================================================
arguments:
type - GAUSSIAN, POISSON, UNIFORM
stats - an array of moments
stats[0] = mean
stats[1] = variance
sample_size - size of noise signal required
=============================================================
return value:
valarray<double> of size sample_size
=============================================================
Now what i want to know is a good way to compute the noise values. I
would prefer to compute these values in a flexible manner so that i can
configure the noise type easily.
ideas please. im trying on my own too but suggestions are definitely
going to reduce the time ill take to finish this function.
thankx
siddharth
Users browsing this forum: No registered users and 0 guests