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

📄 xdc_focus.m

📁 FIELD II 是B超的matlab仿真程序。 执行 先运行 field_init.m
💻 M
字号:
%  Procedure for creating a focus time line for an aperture%%  Calling:  xdc_focus (Th, times, points); %%  Parameters:  Th     - Pointer to the transducer aperture.  %               times  - Time after which the associated focus is valid. %               points - Focus points. Vector with three columns (x,y,z) %                        and one row for each field point.%%  Return:      none.%%  Version 1.0, November 28, 1995 by Joergen Arendt Jensenfunction res = xdc_focus (Th,times,points)%  Check the times vector  [m1,n]=size(times);  if (n ~= 1)     error ('Times vectors must have one columns');    end%  Check the point array  [m2,n]=size(points);  if (n ~= 3)    error ('Points array must have three columns');    end%  Check both arrays  if (m1 ~= m2)    error ('There must be the same number of rows for times and focal points');    end%  Call the C-part of the program to insert focus   Mat_field (1060,Th,times,points);

⌨️ 快捷键说明

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