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에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



