Number of sinusoids Estimator

版本 1.0.0.0 (3.1 KB) 作者: Sebastien PARIS
Estimate the number of sinusoid in a signal.
4.2K 次下载
更新时间 2007/11/27

查看许可证

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);

引用格式

Sebastien PARIS (2024). Number of sinusoids Estimator (https://www.mathworks.com/matlabcentral/fileexchange/4876-number-of-sinusoids-estimator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Spectral Estimation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Version 1.1 : add some small speed improvements