problem regarding audio signal

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

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 21 Aug 2012
Edited: Azzi Abdelmalek on 21 Aug 2012
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 Comments

sir how to connect microphone to matlab system.can u eloborate.
you have'nt to do it
if iam not configuring mic to the system, how will the matlab recognize the audio.
i thought it was done
sir could u explain me how to configure mic to a matlab system.
configure your micro to your windows system. matlab will recognize it.
thank you very much sir.

Sign in to comment.

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!