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

5 visualizaciones (últimos 30 días)
How to generate noise from 950 to 1050 Hz for 0.2 sec? Please help me.
  2 comentarios
Image Analyst
Image Analyst el 1 de Mzo. de 2020
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 el 1 de Mzo. de 2020
I didn't answer. I asked clarifying questions. The answer(s) are below.

Iniciar sesión para comentar.

Respuesta aceptada

Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato el 1 de Mzo. de 2020
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 comentarios
Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato el 1 de Mzo. de 2020
sound(noise,Fs)
Keep in mind that 0.2 s is almost nothing
Parisa
Parisa el 1 de Mzo. de 2020
I know..thanks alot

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Signal Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by