フィルターのクリア

recording real sound data from microphone into matlab

1 回表示 (過去 30 日間)
TESFAW
TESFAW 2014 年 8 月 7 日
編集済み: TESFAW 2014 年 8 月 22 日
Ns=2^17;
Fs=44100;%in Hz
y=wavrecord(Ns,Fs,1,'double');
filename ='cdct.wav';
wavwrite(y,Fs,filename);
n=length(y);
t=(0:(n-1))*Ns/n;
plot(y)
xlabel('time in(sec)')
ylabel('amplitude')
titel('amp vs time')
my questions are:
1. I used this code to record the sound data ,but I fail to determine
its fundamental frequency
2.how can add a code for filtering during recording
any help!10Q

回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by