planeframeelementlength.m

来自「matlab编程实现有限元计算,对有限元学习很有帮助」· M 代码 · 共 11 行

M
11
字号
function y = PlaneFrameElementLength(x1,y1,x2,y2)
%PlaneFrameElementLength   This function returns the length of the
%                          plane frame 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 + -
显示快捷键?