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

📄 insert.m

📁 MATLAB进行有限元分析时应用该用限元工具箱
💻 M
字号:
 function [f]=insert(edof,f,fe)% [f]=insert(edof,f,fe)%-------------------------------------------------------------% PURPOSE%  Assembel fe into the global force vector f %  according to the topology matrix edof.%% INPUT: edof:  topology matrix%        f   :  the global force vector%        fe  :  element force vector%% OUTPUT:  f :  the new global force vector%-------------------------------------------------------------% LAST MODIFIED: M Ristinmaa 1993-10-30% Copyright (c)  Division of Structural Mechanics and%                Department of Solid Mechanics.%                Lund Institute of Technology%-------------------------------------------------------------    [nie,n]=size(edof);    t=edof(:,2:n);    for i = 1:nie         f(t(i,:))=f(t(i,:))+fe(i,:)';    end%--------------------------end--------------------------------

⌨️ 快捷键说明

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