📄 beam.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -