problem regarding audio signal

2 次查看(过去 30 天)
hi all, can any one give me a solution,how to show that audio signal frequency lies between 20hz to 20khz.can i take the signal from any microphone and test the frequency in matlab.pl give me solution. regards k.v.swamy

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2012-8-21
编辑:Azzi Abdelmalek 2012-8-21
here an example for recording your voice
% Record your voice for 5 seconds.
recObj = audiorecorder;
disp('Start speaking.')
recordblocking(recObj, 5);
disp('End of Recording.');
% Play back the recording.
play(recObj);
% Store data in double-precision array.
myRecording = getaudiodata(recObj);
% Plot the waveform.
plot(myRecording);
  7 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2012-8-21
configure your micro to your windows system. matlab will recognize it.
k.v.swamy
k.v.swamy 2012-8-21
thank you very much sir.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by