⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bmatrix1d.m

📁 The Finite Element Method Usign MATLAB.pdf
💻 M
字号:
% evaluates derivative of the shape functions (in physical coordinates) at point xt 
 function B = Bmatrix1D(xt,xe)
include_flags;

    if nen == 2       % derivative of linear shape functions
        B =  1/(xe(1)-xe(2))*[-1 1];
    elseif nen == 3   % derivative of quadratic shape functions
        B(1)=(2*xt-xe(2)-xe(3))/((xe(1)-xe(2))*(xe(1)-xe(3)));
        B(2)=(2*xt-xe(1)-xe(3))/((xe(2)-xe(1))*(xe(2)-xe(3)));
        B(3)=(2*xt-xe(1)-xe(2))/((xe(3)-xe(1))*(xe(3)-xe(2)));
    end

⌨️ 快捷键说明

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