How to Plot Bending Moment Diagram
Show older comments
I wrote a piece of code to solve any 2D frame-type structures problem. As my output, I generated the following:
- Displacement at each node
- Shapefunction for Bending Moment in each member M(x)
- Shapefunction for Shear Force in each member V(x)
- Shapefunction for Displacement of each member Y(x)
Now I would like to plot the the Displaced shape, shear force diagram, and bending moment diagram for the entire structure. To do that, I am planning on starting each shapefunction at the Start node of the member, then plot it x=0:Length and then rotate it in the same angle as the moment.
How would I go ahead to do this? I have no idea how to rotate and position a plot accordingly.
References: This is roughly what I would like my plot to look like (for bending moment and displaced shape): http://debug.pi.gr/BookImagesEn2/Book-B_3330_7a.jpg
2 Comments
Ankit Kharat
on 19 Jan 2021
can u please send the code???
Jacob Salman
on 30 Oct 2022
can u send me the code please? i really need it
Answers (2)
Mahmoud Khadijeh
on 17 Nov 2018
0 votes
Could you please send your code to me ?
I am working on a project like this and I really need it
Phung Trung
on 17 Dec 2019
0 votes
Can you send me your code. I have a problem with it
Categories
Find more on 2-D and 3-D Plots 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!