28.06.2013 Views

Estimation spectrale Méthodes non-paramétriques

Estimation spectrale Méthodes non-paramétriques

Estimation spectrale Méthodes non-paramétriques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Code en MATLAB<br />

function Px = welch(x,L,over,win);<br />

if (over >= 1) | (over < 0)<br />

error(‘Overlap is invalid’)<br />

end<br />

N = length(x);<br />

n1 = 1;<br />

n0 = (1-over)*L;<br />

K = 1+floor((N-L)/n0);<br />

Px = 0;<br />

for i=1:K<br />

Px = Px + mperiodogram(x(n1:n1+L-1),win)/K;<br />

n1 = n1 + n0;<br />

end<br />

INRS-EMT J. Benesty 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!