beam.m
来自「hi i have a huge collection are you int」· M 代码 · 共 18 行
M
18 行
function b = beam(n,dol,theta)%function b = beam(n,dol,theta)%%To calculate the beam pattern,b, of a phased array%at angles theta, given the number of hydrophones, n, and%the spacing in wavelengths, dol.%(See Urick, "Principles of Underwater Sound ."%% Andrew Knight, June 1991%ind = find(theta==0);if ~isempty(ind); theta(ind) = eps;endarg = pi*dol*sin(theta);b = (sin(n*arg).*cos(arg*(n - 1))./sin(arg)).^2 ./n^2;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?