You can generate the sine wave using sin() function: https://www.mathworks.com/help/matlab/ref/sin.html. Note that you can get a particular frequency sine wave by using the formula where f is the frequency you want, and t is the vector of time values. Then use awgn(): https://www.mathworks.com/help/comm/ref/awgn.html to add the required level of noise.
Additive White Gaussian Noise
14 次查看(过去 30 天)
显示 更早的评论
Write a program to generate a pure sine wave frequency of 80Hz and add Additive White Gaussian Noise with signal to noise ratio (SNR) of 10dB using awgn command.
Please help.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!