yule walker psd
1 次查看(过去 30 天)
显示 更早的评论
hi i m working on a speech recognition project with command 'pyulear' when i use command
Duration = 1; % Duration (sec)
Fs = 8000; % Sampling Freq (Hz)
z1 = wavrecord(Duration*Fs,Fs);
pyulear(z1,12,512,8000);
i get the yule walker psd plotted in a graph with frequency on one axes and db/frequency on the other. but when i use
k1= pyulear(z1,12,512,8000);
i have 256 values in k1. i want to know how to relate the coordinates in the graph with those in k1.
any inputs would be helpful.
thanks in advance
0 个评论
采纳的回答
Wayne King
2012-5-9
The k1 are the power estimates as a function of frequency. If you enter
10*log10(k1)
You will see that those values agree with the plotted values.
256 is the default NFFT length. So
x = randn(100,1);
y = filter(1,[1 1/2 1/3 1/4 1/5],x);
pyulear(y,4,[],1000);
% compare with
k1 = pyulear(y,4,[],1000);
figure;
plot(10*log10(k1)); grid on;
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!