quadraticquadelementarea.m
来自「matlab在有限元中应用的源程序及命令 下载后可直接解压」· M 代码 · 共 17 行
M
17 行
function y = QuadraticQuadElementArea(x1,y1,x2,y2,x3,y3,x4,y4)
%QuadraticQuadElementArea This function returns the area
% of the quadratic quadrilateral
% element whose first node has
% coordinates (x1,y1), second
% node has coordinates (x2,y2),
% third node has coordinates
% (x3,y3), and fourth node has
% coordinates (x4,y4) .
yfirst = (x1*(y2-y3) + x2*(y3-y1) + x3*(y1-y2))/2;
ysecond = (x1*(y3-y4) + x3*(y4-y1) + x4*(y1-y3))/2;
y = yfirst + ysecond;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?