⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xdc_get.m

📁 FIELD II 是B超的matlab仿真程序。 执行 先运行 field_init.m
💻 M
字号:
%  Procedure for getting data for an aperture%%  Calling:  data = xdc_get(Th, info_type); %%  Parameters:  Th   - Pointer to the transducer aperture.    %               info_type - Which information to get (text string). %                      The possibilities are:%                          rect     - information about rectangular elements%                          tri      - information about triangular elements%                          focus    - focus time line%                          apo      - apodization time line%%  Return:    data - data about the aperture%%  Example:  data = xdc_get (Th,'focus');%%     Returns the delay values for this aperture. See the manual for the%     individual values content in the user's guide.%%  Version 1.03, June 29, 1998 by Joergen Arendt Jensenfunction data = xdc_get (Th, info_type)%  Check the type argument  if nargin < 2    info_type = 'rect';    end  if strcmp(info_type, 'rect')    info = 1;  elseif strcmp(info_type, 'tri')    info = 2;  elseif strcmp(info_type, 'focus')    info = 4;  elseif strcmp(info_type, 'apo')    info = 5;  else    info = 1;  end%  Call the C-part of the program to show aperture  data = Mat_field (1101,Th,info);

⌨️ 快捷键说明

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