<< locfreq Frequency-Domain Processing sgrpdlay >>

Time Frequency Toolbox >> Time Frequency Toolbox > Frequency-Domain Processing > parafrep

parafrep

parametric frequency representation of a signal.

Calling Sequence

[spec,freqs]=parafrep(Rx)
[spec,freqs]=parafrep(Rx,N)
[spec,freqs]=parafrep(Rx,N,method)
[spec,freqs]=parafrep(...,'plot')

Parameters

Rx :

A (p+1) by (p+1) array of double: the correlation matrix.

N :

a positive integer: the number of frequency bins.

method :

a character string with possible values: 'AR', 'PERIODOGRAM', 'CAPON', 'CAPNORM', 'LAGUNAS', or 'GENLAG'.

'plot':

if one input parameter is 'plot', the frequency representation will be plotted.

Examples

noise=rand(1000,1); signal=filter([1 0 0],[1 1 1],noise);
clf;
subplot(221);parafrep(correlmx(signal,2,'hermitian'),128,'AR',"plot");title('AR (2)');
subplot(222);parafrep(correlmx(signal,4,'hermitian'),128,'Capon',"plot");title('Capon (4)');
subplot(223);parafrep(correlmx(signal,2,'hermitian'),128,'lagunas',"plot");title('Lagunas (2)');
subplot(224);parafrep(correlmx(signal,40,'hermitian'),128,'periodogram',"plot");title('periodogram (40)');

Authors


Report an issue
<< locfreq Frequency-Domain Processing sgrpdlay >>