spaceframeelementlength.m

来自「有限元程序的matlab工具包」· M 代码 · 共 12 行

M
12
字号
function y = SpaceFrameElementLength(x1,y1,z1,x2,y2,z2)
%SpaceFrameElementLength   This function returns the length of the
%                          space frame element whose first node has  
%                          coordinates (x1,y1,z1) and second node has  
%                          coordinates (x2,y2,z2).   
y = sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1) + (z2-z1)*(z2-z1));





⌨️ 快捷键说明

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