parametric frequency representation of a signal.
[spec,freqs]=parafrep(Rx) [spec,freqs]=parafrep(Rx,N) [spec,freqs]=parafrep(Rx,N,method) [spec,freqs]=parafrep(...,'plot')
A (p+1) by (p+1) array of double: the correlation matrix.
a positive integer: the number of frequency bins.
a character string with possible values: 'AR', 'PERIODOGRAM', 'CAPON', 'CAPNORM', 'LAGUNAS', or 'GENLAG'.
if one input parameter is 'plot', the frequency representation will be plotted.
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)'); | ![]() | ![]() |