This function finds the stiffness matrix of beam element (frame element) in 3D.
function k=beam_stiffness(E,Iy,Iz,A,L,G,J,Cx,Cy,Cz,omega)
Input:
E: Modulus of Elasticity
Iy, Iz: Moment of Inertia around y and z axes
A: Section Area
L: Length
G: Shear Modulus
J: Polar Moment of Inertia
Cx, Cy, and Cz: Direction cosines of the beam with respect to x, y, and z axes
omega: Rotation of the beam around the beam major axis (x-axis)
Output:
k: Stiffness Matrix
Cite As
Ayad Al-Rumaithi (2026). Beam Element (3D) (https://uk.mathworks.com/matlabcentral/fileexchange/158526-beam-element-3d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
