23 p=
round(.25*length(
signal)); % Estimate
for a large number of sinusoids
24 %
this is a correlation matrix
25 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)); 27 [U,S,eigenvects] = svd(signal,0); 28 eigenvals = diag(S).^2; % We need to square the singular values here 30 %UHat=U; SHat=S; eigenvectsHat=eigenvects; eigenvalsHat=eigenvals; 31 %load /tmp/results.mat 32 %stack=dbstack; dbstop(stack(1).name,stack(1).line+1) % stop octave & debug from the next line onwards
ensure a column vector clear s p
double precision function round(x)