Addition of gaussian noise
16 次查看(过去 30 天)
显示 更早的评论
can you tell me matlab codes to add gaussian noise to a ecg signal?
0 个评论
回答(2 个)
Tom Lane
2012-2-15
I don't know anything about ecg signals, but "help randn" will show you how to generate Gaussian noise.
0 个评论
Thomas
2012-2-15
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Measurements and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!