int Xdata[100] = {100};
How to add Guassian noise with variance Var to Xdata?
.
|
Team Leader
|
![]() |
| 14Apr2006,09:13 | #2 |
|
Can you clarify a bit more on what you want to be doing with the variable and what is Var ...
|
|
Go4Expert Founder
|
![]() |
| 14Apr2006,09:15 | #3 |
|
Please read Before you make a query thread so that you know what you are asking can be understood by the other people.
|
|
Go4Expert Member
|
|
| 14Apr2006,12:00 | #4 |
|
maybe to print it to screen or display it. Var is variance = 0.8, for example.
|
|
Go4Expert Founder
|
![]() |
| 14Apr2006,13:35 | #5 |
|
How to Generate White Gaussian Noise probably can help you. What I found there is
Code:
X=0
for i = 1 to N
U = uniform()
X = X + U
end
|

