Addition of gaussian noise
이전 댓글 표시
can you tell me matlab codes to add gaussian noise to a ecg signal?
답변 (2개)
Tom Lane
2012년 2월 15일
0 개 추천
I don't know anything about ecg signals, but "help randn" will show you how to generate Gaussian noise.
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)
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!