quadtriangleelementarea.m

来自「matlab在有限元中应用的源程序及命令 下载后可直接解压」· M 代码 · 共 12 行

M
12
字号
function y = QuadTriangleElementArea(x1,y1,x2,y2,x3,y3)
%QuadTriangleElementArea   This function returns the area of the
%                          quadratic triangular element whose first 
%                          node has coordinates (x1,y1), second 
%                          node has coordinates (x2,y2), and 
%                          third node has coordinates (x3,y3).
y = (x1*(y2-y3) + x2*(y3-y1) + x3*(y1-y2))/2;




⌨️ 快捷键说明

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