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