• 大小: 3KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-15
  • 语言: Matlab
  • 标签: MUSIC  MVDR  MATLAB  

资源简介

均匀线阵和均匀圆阵的MUSIC算法仿真,即MVDR滤波。程序还包括数字上变频和下变频

资源截图

代码片段和文件信息

function y=duc2ddc(x)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%输入复基带信号%%%%%%%%%%%%%%%%%%%
n=length(x);
in=real(x);
qn=imag(x);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%插值%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ncz=n*64;
incz=zeros(1ncz);
qncz=zeros(1ncz);
for i=1:ncz
    if mod(i-164)==0
        incz(i)=in((i-1)/64+1);
        qncz(i)=qn((i-1)/64+1);
    end
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%滤波%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fp=100000;
fs=300000;
ftcz=25.6*10^6;
[OrWnbetaftype] = kaiserord([fpfs][10][0.010.01]ftcz);
b=fir1(OrWnftypekaiser(Or+1beta)‘noscale‘);
inczf=filter(b1incz);
qnczf=filter(b1qncz);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%上变频%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fc=10*10^6;
induc=inczf.*cos(2*pi*fc/ftcz*(0:ncz-1));
qnduc=qnczf.*sin(2*pi*fc/ftcz*(0:ncz-1));
s=induc+qnduc;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%加噪声%%%%%%%%%%%%%%%%%%%%%%%%%%%%
snr=15;
r=awgn(ssnr‘measured‘);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%下变频%%%%%%%%%%%%%%%%%%%%%%%%%%%%
inddc=r.*cos(2*pi*fc/ftcz*(0:ncz-1));
qnddc=r.*sin(2*pi*fc/ftcz*(0:ncz-1));
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%滤波%%%%%%%%%%%%%%%%%%%%%%%%%%%%
inddcf=filter(b1inddc);
qnddcf=filter(b1qnddc);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%抽取%%%%%%%%%%%%%%%%%%%%%%%%%%%%
incq=zeros(1n);
qncq=zeros(1n);
for i=1:ncz
    if mod(i-164)==0
        incq((i-1)/64+1)=inddcf(i);
        qncq((i-1)/64+1)=qnddcf(i);
    end
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%返回复基带信号%%%%%%%%%%%%%%%%%%%
y=incq+1i*qncq;
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1614  2014-01-06 15:56  mvdr2.m

     文件       1981  2014-01-02 09:53  mvdr3.m

     文件       1717  2014-01-07 12:16  duc2ddc.m

     文件       2740  2013-12-02 21:34  mvdr1.m

----------- ---------  ---------- -----  ----

                 8052                    4


评论

共有 条评论