91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-05-12
  • 語言: Matlab
  • 標(biāo)簽: 波束形成??

資源簡(jiǎn)介

該仿真是基于線性最小約束方差算法的波束形成,利用MATLAB實(shí)現(xiàn),效果明顯。

資源截圖

代碼片段和文件信息

clc;?
close?all
clear?all;?
M=20;%%?the?number?of?antennas

L=200;????????????????????????????????????%%?sample?number?
thetas=45;????????????????????????????????%信號(hào)入射角度
thetai=[-30?30];??thetai1=[40?50?];?thetai2=[42?48];????????????????????????%干擾入射角度
n=[0:M-1]‘;????????????????????????????????%n?

vs=exp(-j*pi*n*sin(thetas/180*pi));?%?vs1=exp(-j*pi*n1*sin(thetas/180*pi));??vs2=exp(-j*pi*n2*sin(thetas/180*pi));???????%信號(hào)方向矢量
vi=exp(-j*pi*n*sin(thetai/180*pi));?vi1=exp(-j*pi*n*sin(thetai1/180*pi));vi2=exp(-j*pi*n*sin(thetai2/180*pi));??????%干擾方向矢量
f=16000;??????????????????????????????????%?carrier?frequency
t=[0:1:L-1]/200;?
snr=20;????????????????????????????????%信噪比
inr=15;????????????????????????????????%干噪比

xs=sqrt(10^(snr/10))*vs*exp(j*2*pi*f*t);?%xs1=sqrt(10^(snr1/10))*vs*exp(j*2*pi*f*t);?xs2=sqrt(10^(snr2/10))*vs*exp(j*2*pi*f*t);?%構(gòu)造有用信號(hào)
xi=sqrt(10^(inr/10)/2)*vi*[randn(length(thetai)L)+j*randn(length(thetai)L)];
xi1=sqrt(10^(inr/10)/2)*vi*[randn(length(thetai1)L)+j*randn(length(thetai1)L

評(píng)論

共有 條評(píng)論

相關(guān)資源