Dificulty plotting graph of function for basic bending moment graph
Show older comments
Have been having issues making a system that creates bending moment graphs,
The graph appears to be the correct shape, but i cannot figure out, how to only plot the graph from 0 to the beam lengh
clc
%bending moments calculator
syms X
%force 1
F1=50
%total beam lengh
LT=4
%f1 distaance from left support (b)
L1=1
%reactions right support (a)
REND= (L1*F1)/LT
%reactions at left support (c)
RST= ((LT-L1)*F1)/LT
%FROM A TO B
M1=RST*X
%FROM B TO C
M2=RST*X-F1*(X-(L1))
fplot(M1)
hold on
fplot(M2)
hold off
Accepted Answer
More Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


