⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bwidth.m

📁 用matlab编写的电磁学方面的函数和图像
💻 M
字号:
% bwidth.m - beamwidth mapping from psi-space to phi-space
%
% Usage: dphi = bwidth(d, ph0, dpsi)
%
% d    = array spacing in units of lambda
% ph0  = beam steering angle in degrees
% dpsi = beamwidth in psi-space (in radians)
%
% dphi = beamwidth in degrees
%
% notes: uses the transformation dpsi=2*pi*d*sin(ph0)*dphi, which follows 
%        from differentiating psi=2*pi*d*(cos(phi) - cos(phi0)),
%        usually, dpsi inpuit is calculated from dpsi=b*0.886*2*pi/N
%        where b is the broadening factor depending on the window design method

% S. J. Orfanidis - 1997 - www.ece.rutgers.edu/~orfanidi/ewa

function dphi = bwidth(d, ph0, dpsi)

if nargin==0, help bwidth; return; end

ph0 = ph0 * pi / 180;

if abs(sin(ph0)) < eps, 
   dphi = sqrt(2*dpsi / (pi*d));                  % endfire 
else
   dphi = dpsi / (2 * pi * d * sin(ph0));         % broadside
end

dphi = dphi * 180 / pi;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -