How to generate noise from 950 to 1050 Hz for 0.2 sec?

조회 수: 8 (최근 30일)
Parisa
Parisa 2020년 3월 1일
댓글: Parisa 2020년 3월 1일
How to generate noise from 950 to 1050 Hz for 0.2 sec? Please help me.
  댓글 수: 2
Image Analyst
Image Analyst 2020년 3월 1일
How many elements do you want? Note that you should have at least enough to satisfy the Nyquist frequency. As long as you have that, you're free to have as many elements as you want define the 0.2 seconds. How about a million points?
Image Analyst
Image Analyst 2020년 3월 1일
I didn't answer. I asked clarifying questions. The answer(s) are below.

댓글을 달려면 로그인하십시오.

채택된 답변

Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato 2020년 3월 1일
Choose Fs, generate broadband noise, filter with a bandpass:
Fs = 44100;
Tmax = 0.2;
Samples = Tmax*Fs;
noise = randn(Samples,1);
noise = bandpass(noise,[950 1050],Fs);
pspectrum(noise,Fs)
  댓글 수: 4
Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato 2020년 3월 1일
sound(noise,Fs)
Keep in mind that 0.2 s is almost nothing
Parisa
Parisa 2020년 3월 1일
I know..thanks alot

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Synchronization and Receiver Design에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by