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.

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 9월 26일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

태그

질문:

2020년 9월 26일

답변:

2020년 9월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by