这个是在网上找的超声声场仿真软件,用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);
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)