xdc_apodization.m
来自「FIELD II 是B超的matlab仿真程序。 执行 先运行 fie」· M 代码 · 共 37 行
M
37 行
% Procedure for creating an apodization time line for an aperture%% Calling: xdc_apodization (Th, times, values); %% Parameters: Th - Pointer to the transducer aperture. % times - Time after which the associated apodization is valid. % values - Apodization values. Matrix with one row for each% time value and a number of columns equal to the % number of physical elements in the aperture. %% Return: none.%% Version 1.01, June 19, 1998 by Joergen Arendt Jensenfunction res = xdc_apodization (Th,times,values)% Check the times vector [m1,n]=size(times); if (n ~= 1) error ('Times vector must have one column'); end [m2,n]=size(values);% Check both arrays if (m1 ~= m2) error ('There must be the same number of rows for times and values'); end% Call the C-part of the program to insert apodization Mat_field (1070,Th,times,values);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?