Addition of gaussian noise

Respuestas (2)

Tom Lane
Tom Lane el 15 de Feb. de 2012

0 votos

I don't know anything about ecg signals, but "help randn" will show you how to generate Gaussian noise.
Thomas
Thomas el 15 de Feb. de 2012

0 votos

To add white Gaussian noise:
(assuming you are adding noise for each time step, have your signal in vector 'signal')
rnoise=randn(1,NoTimeSteps);
NoiseAddedData=signal+rnoise;
something like this should work. (FYI, I'm modifying this from my code on Sensor networks, where I have to add white Gaussian noise to simulate noise from the environment for target tracking)

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 15 de Feb. de 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by