How can I connect my equations for a shear/bending moment diagram?
1 visualización (últimos 30 días)
I have a 1.2 m beam. That is the vector l. SN1, SN2, and SN3 represent the three equations for my shear force diagram. When I go to plot them, they are disconnected. That is the problem. How can I make my plot connect the end of one line segment to the beginning of the next?
l = 0:.001:1.2;
SN1 = -150*(l(logical(S1)));
SN2 = -150*(l(logical(S2))) + 90;
SN3 = -150*(l(logical(S3))) + 180;
plot((l(logical(S1))), SN1, 'r')
plot((l(logical(S2))), SN2, 'r')
plot((l(logical(S3))), SN3, 'r')
Pravin Jagtap el 27 de Abr. de 2020
I would recommend you to take a look at this question which deals with the similar issue of plotting shear force and bending moment diagram:
Hope, this will help you.