📄 dmusicex1.m
字号:
function dmusicEx1()
% function dmusicEx1()
%
% 1D Damped MUSIC (DMUSIC) Algorithm Example
%
% This is the implementation of example 1 from reference [1]
%
% Ex:
% dmusicEx1();
%
% References:
% [1] Y. Li, J. Razavilar, and K. Liu, "A Super-Resolution Parameter
% Estimation Algorithm for Multi- Dimensional NMR Spectroscopy,"
% University of Maryland, College Park, MD 1995.
%
% [2] E. Yilmaz and E. Dilaveroglu, "A Performance Analysis for DMUSIC,"
% presented at 5TH International Conference on Electrical and
% Electronics Engineering (ELECO 2007), Bursa, Turkey, 2007.
%
% Coded by: Kenneth John Faller II January 07, 2008
%
N = 24;
J = 12;
K = 2;
SNR = 40;
theta = 0.1;
s1 = -0.2+j*2*pi*0.42;
disp(cat(2,'s1: ', num2str(s1)));
s2 = -0.1+j*2*pi*(0.42+theta);
disp(cat(2,'s2: ', num2str(s2)));
y = 0;
for i=1:N+1
n=i-1;
y(i) = exp(s1*n) + exp(s2*n);
end
y = awgn(y,SNR);
dmusic(y,K,J);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -