SFBMD(forces,distload,len)
%Shear Force and Bending Moment Diagram (SFBMD)
%--------------------------------------------------------------------------
% Draws the Shear Force and Bending moment diagram of beams subject to
% Concentrated loads/moments at the ends as well as uniform distributed loads
% along the beam in all three directions.
%
% SYNTAX
% SFBMD(option,forces,distloads,len)
%
% INPUT
% [forces] : Beam End Forces and Moments [fy1,mz1,fy1,mz2]
% [distloabd]: Distributed loads [wy]
% [len]: Length of the beam
%
% OUTPUT
% subplot 1: Shear Force Diagram
% subplot 2: Bending Moment Diagram
%
% The function can be chnaged quite easily to include it in any finite element program.
%
% EXAMPLE
% Cantilever with distributed load; SFBMD([0,0,0,0],-1,10)
% Cantelever load with concentrated force at the end; SFBMD([1,10,-1,0],0,10)
%
%==========================================================================
% 2016 By: Sumeet Kumar Sinha (sumeet.kumar507@gmail.com)
Cite As
Sumeet (2024). SFBMD(forces,distload,len) (https://www.mathworks.com/matlabcentral/fileexchange/57757-sfbmd-forces-distload-len), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
2.0.0.0 |