资源简介
波速方向图,阵列数为10 在u空间和theta空间作出相应的波束方向图,图像效果良好。
代码片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Beam patterns: N = 10
% (a) u-space
% (b) theta-space
% function called: polardb
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
close all;
N = 10;
M = (N-1)/2;
n = (-M:M).‘;
u = -1:0.001:1;
vv = exp(j*pi*n*u);
u0 = 0;
figure;
hold on;
for m = -N/2+1:N/2
k = m+N/2;
w(:k) = 1/N*exp(-j*pi*n*(u0-2*m/N));
B(k:) = w(:k)‘*vv;
plot(ureal(B(k:)))
grid on
end
hold off;
xlabel(‘\it u‘‘Fontsize‘ 14)
ylabel(‘Beam pattern‘‘Fontsize‘14)
%title(‘N = 10‘)
theta = pi*(-1:0.001:1);
vt = exp(j*pi*n*cos(theta));
lim = -40;
figure;
for m = -N/2+1:N/2
k = m+N/2;
Bt(k:) = w(:k)‘*vt;
rho(k:) = 20*log10(abs(Bt(k:)));
rp(k:) = rho(k:);
for l = 1:len
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1085 2011-12-28 15:13 波束方向图\fig3_52.m
文件 4910 2000-08-30 12:45 波束方向图\polardb.m
目录 0 2011-12-28 15:14 波束方向图
----------- --------- ---------- ----- ----
5995 3
- 上一篇:USBCTRL USB上位机控制软件(源码)
- 下一篇:FREE DRCOM上网插件
评论
共有 条评论