• 大小: 1.13MB
    文件类型: .gz
    金币: 1
    下载: 0 次
    发布日期: 2023-11-12
  • 语言: Matlab
  • 标签: MATLAB  声场  仿真  

资源简介

这个是在网上找的超声声场仿真软件,用MATLAB编写的,很强大

资源截图

代码片段和文件信息

%  Procedure for calculating the spatial impulse response
%  for an aperture.
%
%  Calling:  [h start_time] = calc_h(Thpoints); 
%
%  Parameters:  Th     - Pointer to the transducer aperture.  
%               points - Field points. Vector with three columns (xyz) 
%                        and one row for each field point. 
%
%  Return:      h          - Spatial impulse response in m/s.
%               start_time - The time for the first sample in h.
%
%  Version 1.01 October 4 1996 by Joergen Arendt Jensen

function [h start_time] = calc_h (Thpoints)

%  Check the point array

  [mn]=size(points);
  if (n ~= 3)
    error (‘Points array must have three columns‘);
    end

%  Call the C-part of the program to show aperture

  [h start_time] = Mat_field (4001Thpoints);



评论

共有 条评论