资源简介
用于对超声阵列进行仿真,主要参数有声场强度,阵列个数,间距等,自带GUI界面,易于操作
代码片段和文件信息
%% TRANSDUCER ARRAY CALCULATION (T_A_C)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This program was developed to calculate and visualize the radiation pattern of
% ultrasound transducers especially for 3D Ultrasound Computer Tomography (USCT).
%
% To run the program properly it is necessary to include the following
% MATLAB files:
% - T_A_C_GUI.m [= creating GUI and administrating]
% - T_A_C_GUI.fig [= GUI figure]
% - calculate_pattern_acoustic_GUI.m [= calculation of 3D radiation pattern]
% - calculate_transducer_array_2D_acoustic.m [= calculation of 2D radiation pattern and -3 dB range]
% - T_A_C_global_variables_GUI.m [= init global variables]
% - visualize_transducer_array_GUI.m [= visualization of transducer surfaces]
% - Soundfield_without_approx.m [= calculation of Near Field]
% - calculate_half_power_Beamwidth.m [= calculation of half power beamwidth]
%
% The TAC Package also includes an “Icons“ and “Examples“ folder.
%
% Developed by Benedikt Kohout and Luciano.G. Palacios Folla friendly supported by Robin Dapp
% at the Karlsruhe Institute of Technology Institute for Data Processing and Electronics Karlsruhe Germany.
% benedikt.kohout@kit.edu
% 03/2012
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
function [hwb_int hwb_pres] = calculate_half_power_Beamwidth(C_ALL)
%% calculate half power beamwidth bzw. half power angle -intensity
%constants: defined in calculate_pattern
%T_A_C_global_variables_GUI();
global lambda;
global c f;
global Phas_0_x;
lambda = c/f;
% global hwb_int ;
% global hwb_pres ;
%lambda = c/f;
%res=res_2D/10;
INT (:1) = C_ALL(:1);
INT (:2) = (C_ALL(:2).^2);
Max_Int = sort (max(INT(:2))‘descend‘);
Max_Int = Max_Int (11);
INT (:3) = abs(INT(:2)./Max_Int);
INT (:4) = 10*log10(INT(:3));
% C_ALL(:7) = 20*log10(C_ALL(:3));
%
% figure()
% plot(INT(:1).*(180/pi)INT(:4)‘r‘)
% hold on
% plot(C_ALL(:1).*(180/pi)C_ALL(:7)‘b‘)
if Phas_0_x >= 0 && Phas_0_x <=pi %search from 0?to 180?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
counter_hww_max = 2;
counter_hww = counter_hww_max;
hww = 4;%0.6; %define start difference value
hww_row = counter_hww;
max_row = counter_hww_max;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%find #1 max -> set counter_hww
while counter_hww_max < length(INT(:1))
if abs(INT(counter_hww_max4)- max(INT(:4))) <=eps
counter_hww = counter_hww_max; %save counter max
max_row = counter_hww_max; %save max ar
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-10-20 14:26 TAC_GUI_V1.3\
文件 8946 2012-03-16 03:00 TAC_GUI_V1.3\calculate_half_power_Beamwidth.m
文件 3195 2012-03-16 02:59 TAC_GUI_V1.3\calculate_pattern_acoustic_GUI.m
文件 5855 2012-03-16 02:59 TAC_GUI_V1.3\calculate_transducer_array_2D_acoustic.m
文件 1533 2012-03-16 03:09 TAC_GUI_V1.3\COPYING.txt
目录 0 2014-10-20 14:26 TAC_GUI_V1.3\Examples\
文件 902 2012-02-24 03:33 TAC_GUI_V1.3\Examples\Attenuation_water.att
文件 703 2009-07-18 21:39 TAC_GUI_V1.3\Examples\chirp_Example.mat
文件 1788 2012-03-17 02:13 TAC_GUI_V1.3\Examples\Impedance_example.txt
文件 1345 2012-03-15 21:22 TAC_GUI_V1.3\Examples\TAC_ART_Example.tac
文件 2271 2012-03-15 03:57 TAC_GUI_V1.3\Examples\TAC_Welcome_Example.tac
目录 0 2014-11-03 17:26 TAC_GUI_V1.3\Graficos\
文件 350478 2014-10-10 15:51 TAC_GUI_V1.3\Graficos\141010-15.50.59-D_P_XY-Array.fig
文件 193598 2014-10-10 16:15 TAC_GUI_V1.3\Graficos\141010-16.15.12-D_P_XY-Array.fig
文件 192823 2014-10-10 16:15 TAC_GUI_V1.3\Graficos\141010-16.15.25-D_P_entire_arrangement.fig
文件 61156 2014-10-10 16:15 TAC_GUI_V1.3\Graficos\141010-16.15.33-D_P_C_all_Vertical.fig
文件 92687 2014-10-10 16:38 TAC_GUI_V1.3\Graficos\141010-16.38.53-Spatial_trans_characteristics.fig
文件 61166 2014-10-10 17:28 TAC_GUI_V1.3\Graficos\141010-17.28.58-D_P_C_all_Vertical.fig
文件 101306 2014-10-13 10:12 TAC_GUI_V1.3\Graficos\141013-10.12.16-D_P_C_all_Horizontal.fig
文件 193598 2014-11-03 17:18 TAC_GUI_V1.3\Graficos\141103-17.18.16-D_P_XY-Array.fig
文件 204391 2014-11-03 17:26 TAC_GUI_V1.3\Graficos\141103-17.26.43-D_P_XY-Array.fig
目录 0 2014-10-20 14:26 TAC_GUI_V1.3\Icons\
文件 1566 2011-09-20 03:01 TAC_GUI_V1.3\Icons\Active_all.bmp
文件 1566 2011-09-08 20:38 TAC_GUI_V1.3\Icons\En_dis_ampl_trans_change.bmp
文件 1566 2011-09-08 20:47 TAC_GUI_V1.3\Icons\En_dis_ampl_trans_change_s&w.bmp
文件 1566 2011-09-06 20:22 TAC_GUI_V1.3\Icons\Fotoaparat_grau.bmp
文件 2910 2011-09-20 01:52 TAC_GUI_V1.3\Icons\Fotoaparat_grau_all.bmp
文件 1566 2011-09-20 03:05 TAC_GUI_V1.3\Icons\Inactive_all.bmp
文件 27654 2012-02-24 02:35 TAC_GUI_V1.3\Icons\KIT.bmp
文件 774 2012-02-14 04:25 TAC_GUI_V1.3\Icons\Open_attenuation.bmp
文件 774 2011-12-09 06:00 TAC_GUI_V1.3\Icons\Open_impedance_characteristic.bmp
............此处省略12个文件信息
相关资源
- 利用WOA算法优化libsvm中SVDD算法的参数
- 跳频通信系统MATLAB仿真
- 蚁群算法实现三维路径规划Matlab源码
- UR5机械臂MATLAB下轨迹规划
- ViBe背景建模Matlab代码
- 机械臂SEA柔顺控制matlab仿真
- 基于MATLAB人民币识别系统.zip
- 科研常用代码预测分类评价
- 产生泊松过程Matlab源码
- 最优化算法规划-单纯形法MATLAB程序
- 基于KL变换的人脸识别 matlab
- 粒度端元分析的matlab程序m文件
- matlab二代身份证文字数字切割识别
- MATLAB代码经典功率谱估计Welch法协方差
- matlab实现的CCV颜色聚合向量
- 《MATLAB电机仿真精华50例》源代码
- 求解多旅行商(MTSP)的遗传算法的
- 基本粒子群算法,MATLAB文件的M文件编
- 数字图像处理作业canny边缘检测坎尼边
- 数字图像处理 MATLAB 大作业 代码及其
- 基于BP神经网络的无线传感器定位算法
- 字符识别matlab源代码
- QR法求解特征值特征向量(MATLAB)课程
- B样条插值的matlab程序
- 群速度色散的matlab仿真
- 双聚类(Bi-clustering)Matlab工具箱
- 基于RSSI强度、指纹库仿真代码,主要
- 圆拟合matlab程序,以及圆心 半径的确
- matlab 三角网格读取
- 基于matlab的BPSK调制解调
评论
共有 条评论