gridelementlength.m

来自「可用于多种有限元单元的建立的分析程序」· M 代码 · 共 11 行

M
11
字号
function y = GridElementLength(x1,y1,x2,y2)
%GridElementLength   This function returns the length of the
%                    grid element whose first node has  
%                    coordinates (x1,y1) and second node has  
%                    coordinates (x2,y2).   
y = sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1));




⌨️ 快捷键说明

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