19 % Find the covariance correlation matrix.
25 p=
round(.25*length(
signal)); % Estimate
for a large number of sinusoids
26 %
this is a correlation matrix
27 signal=
signal(fliplr(repmat(1:2*
p,length(signal)-2*
p+1,1))+repmat((1:length(signal)-2*
p+1)
',1,2*p)-1)/sqrt(length(signal)-(2*p-1)); ensure a column vector clear s p
double precision function round(x)