MVDR算法仿真源码程序 - matlab算法设计 - 谷速源码
下载频道> 资源分类> matlab源码> 算法设计> MVDR算法仿真源码程序

标题:MVDR算法仿真源码程序
分享到:

所属分类: 算法设计 资源类型: 文件大小: 149.91 KB 上传时间: 2016-01-30 12:54:26 下载次数: 2 资源积分:1分 提 供 者: 源码共享 MVDR算法仿真源码程序
内容:
MVDR算法仿真源码程序,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
clear all
 
%% This program calls the main program "coherence_MVDR",
%% which computes the coherence function with the MVDR method
 
%example on how the coherence function works with the MVDR method
%see papers for more explanations
 
n       = 1024;         %number of samples
nT      = [0:n-1]';     %time axis
Nf      = 5;            %number of frequencies of high coherence
f       = zeros(Nf,1);
f(1) = 0.05; f(2) = 0.06; f(3) = 0.07; f(4) = 0.08; f(5) = 0.09;
%
fw      = 2*pi*f;
x1      = randn(n,1); %first signal
x2      = randn(n,1); %second signal
for i = 1:Nf
    x1  = x1 + cos(fw(i)*nT);
    x2  = x2 + cos(fw(i)*nT + 2*pi*rand(1,1));
end
 
%coherence with MATLAB
WL      = 100; %window length
[cx1x2,w] = cohere(x1,x2,WL);
%
figure(1);
%
subplot(2,1,1)
plot(w/2,cx1x2)
%legend('');
grid on;
ylabel('MSC');
title('(a)')
axis([0 1/2 0 1]);
 
%Coherence with the MVDR method
K = 200; %to increase resolution
L = 100; %window length
[MSC]=MVDR_new(x1,x2,L,K);
%
K2 = K/2;
MSCf = MSC(1:K2);
wwf = [0:1/K2:1-1/K2]';
%
subplot(2,1,2)
plot(wwf/2,MSCf)
grid on;
ylabel('MSC');
xlabel('Frequency');
title('(b)')
axis([0 1/2 0 1]);

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

MVDR算法仿真源码程序/
MVDR算法仿真源码程序/code/
MVDR算法仿真源码程序/code/Illustrate.m
MVDR算法仿真源码程序/code/MVDR_new.m
MVDR算法仿真源码程序/code/icassp2006_jb.pdf
MVDR算法仿真源码程序/code/spl_dec2005.pdf

关键词: 算法 源码 程序

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘
沪ICP备19040327号-3
公安备案号:沪公网安备 31011802003874号
库纳格流体控制系统(上海)有限公司 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved