Dificulty plotting graph of function for basic bending moment graph
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



