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

📄 db23d.m

📁 用来实现三维阻抗及光学断层成像重建的matlab程序
💻 M
字号:
function [dd] = db23d(x1,y1,z1,x2,y2,z2);
%function [dd] = db23d(x1,y1,z1,x2,y2,z2);
%
%Auxiliary function that caclulates the distance between two points in 3D
%
%
%
%(x1,y1,z1) = The coordinates of the first point in 3D
%(x2,y2,z2) = The coordinates of the second point in 3D
%dd         = Their distance

dd = sqrt((x2 - x1).^2 + (y2 - y1).^2 + (z2 - z1).^2);





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is part of the EIDORS suite.
% Copyright (c) N. Polydorides 2001
% Copying permitted under terms of GNU GPL
% See enclosed file gpl.html for details.
% EIDORS 3D version 1.0
% MATLAB version 5.3 R11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

⌨️ 快捷键说明

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