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

📄 linearbarassemble.m

📁 matlab编程实现有限元计算,对有限元学习很有帮助
💻 M
字号:
function y = LinearBarAssemble(K,k,i,j)
%LinearBarAssemble   This function assembles the element stiffness
%                    matrix k of the linear bar with nodes i and j 
%                    into the global stiffness matrix K.
%                    This function returns the global stiffness  
%                    matrix K after the element stiffness matrix  
%                    k is assembled.
K(i,i) = K(i,i) + k(1,1);
K(i,j) = K(i,j) + k(1,2);
K(j,i) = K(j,i) + k(2,1);
K(j,j) = K(j,j) + k(2,2);
y = K;


⌨️ 快捷键说明

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