Code covered by the BSD License  

Highlights from
Number of sinusoids Estimator

4.0

4.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 3.07 KB File ID: #4876
image thumbnail

Number of sinusoids Estimator

by Sebastien Paris

 

06 May 2004 (Updated 27 Nov 2007)

Estimate the number of sinusoid in a signal.

| Watch this File

File Information
Description

Fast Algorithm estimating the number of sinusoids in a white Gaussian noise. This algorithm use a sub-space method based on chi-square statistics of eigen values of the Autocorrelation Matrix.

Example :

clear, close all hidden
N = 512;
L_vrai = 4;
fe = 2000;
F = (0:(fe/2)/(N/2-1):(fe/2));
snr = [-10 -10 -10 -10];
f = [25 230 500 780];
n = 32;
prob = 0.95;
y = zeros(1,N);
t = (0:(N-1))/fe;

for l = 1:L_vrai
  y = y + sqrt(2)*10^(snr(l)/20)*sin(2.*pi.*f(l).*t + 2.*pi.*rand);
end

s = y + randn(1 , N);

[L , R] = nbsinu(s , n , prob);

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
14 Nov 2007 sekar viswanathan

good work...

Please login to add a comment or rating.
Updates
27 Nov 2007

Version 1.1 : add some small speed improvements

Tag Activity for this File
Tag Applied By Date/Time
spectral analysis Sebastien Paris 22 Oct 2008 07:19:10
estimation Sebastien Paris 22 Oct 2008 07:19:10
signal processing Sebastien Paris 22 Oct 2008 07:19:10
chi square statistics Sebastien Paris 22 Oct 2008 07:19:10
autocorrelation Sebastien Paris 22 Oct 2008 07:19:10

Contact us at files@mathworks.com