Frequency and Sampling Frequency
Mostrar comentarios más antiguos
Which is the frequency of a tone heard when played with twice the original sampling frequency?
For example, we have this tone:
>> fs=24000; % Sampling frequency
>> t=0:1/fs:1;
>> x=cos(2*pi*1000*t); % frequency = 1000 Hz
>> sound(x, fs);
There we see that the frequency is 1000 Hz, but if we play the tone with twice its sampling frequency:
>> sound(x, 2*fs);
Which is the frequency of the tone then?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Audio I/O and Waveform Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!