AIM: To Estimate Power Spectrum Using Parametric Methods (Yule Walker and

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

33

EXPERIMENT-9

AIM: To estimate power spectrum using parametric methods(yule walker and


burg)
SOFTWARE REQUIRED: MATLAB 7.0.1
PROGRAM:
BURG METHOD FOR AR MODEL
randn('state',1);
x = randn(100,1);
y = filter(1,[1 1/2 1/3 1/4 1/5],x); % Fourth order AR filter
h=spectrum.burg(4);
psd(h,y); % Uses default FFT length of 256
plot([0:255]/256, p);
title('Burg Method Spectral Density Estimate');
xlabel('Normalized frequency');
ylabel('Power/frequency');

OUTPUT WAVEFORM:

34
YULE WALKER METHOD

randn('state',1);
x = filter(1,a,randn(256,1));

% AR system output

pyulear(x,4)

% Fourth-order estimate

OUTPUT WAVEFORM:

RESULT: The power spectrum is estimated by using parametric methods


(yule walker and burg)

35

You might also like