?? 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 + -