bft_linear_array.m

来自「matlab波束形成工具箱」· M 代码 · 共 30 行

M
30
字号
%BFT_LINEAR_ARRAY - Create a linear array.%%USAGE  : xdc = bft_linear_array(no_elements, width,  kerf)%   OR  : xdc = bft_linear_array(no_elements, pitch)% %INPUT  : no_elements - Number of elelements in the array%         pitch - Distance between the centers of two elements [m]%         width - Width in x-direction                         [m]%         kerf  - Distance between two elements                [m]%%   The function assumes that 'kerf' + 'width' = 'pitch'%%OUTPUT : xdc - Pointer to the allocated aperture%%VERSION: 1.0, Feb 14, 2000 Svetoslav Nikolovfunction xdc = bft_linear_array(no_elements, width, kerf)if (nargin ==3)   pitch = width + kerf;else   pitch = width;endx = [-(no_elements-1)/2:(no_elements-1)/2]' * pitch;y = zeros(no_elements,1);z = zeros(no_elements,1);xdc = bft_transducer([x, y, z]);

⌨️ 快捷键说明

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