spaceframeelementmomentzdiagram.m

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

M
20
字号
function y = SpaceFrameElementMomentZDiagram(f, L)
%SpaceFrameElementMomentZDiagram   This function plots the bending 
%                                  moment diagram for the space frame 
%                                  element with nodal force vector f 
%                                  and length L.
x = [0 ; L];
z = [f(6) ; -f(12)];
hold on;
title('Bending Moment Diagram along Z Axis');
plot(x,z);
y1 = [0 ; 0];
plot(x,y1,'k')







⌨️ 快捷键说明

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