环境搭建
- Window 11 + matlab 2023b
- MUST 包,官网地址
- 将下载的MUST包,放置在matlab安装目录的toolbox下,根据如下
线阵B模式成像
% config probe parameters
param = getparam('L11-5V');
% each element's coordinates
L = param.pitch*(param.Nelements-1); % array aperture (in m)
xe = linspace(-0.5,0.5,param.Nelements)*L;
ze = zeros(1,param.Nelements);
% config the sub-aperture to 24
param_suba = param;
param_suba.Nelements = 24;
% config the focus
xf = 0; zf = 2.5e-2; % focus position (in m)
% calculate the tx-delay, the distance from each element to the focal point
% For elements that do not transmit, set the delay