How to Plot Bending Moment Diagram

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

Ankit Kharat
Ankit Kharat 2021년 1월 19일
can u please send the code???
Jacob Salman
Jacob Salman 2022년 10월 30일
can u send me the code please? i really need it

댓글을 달려면 로그인하십시오.

답변 (2개)

Mahmoud Khadijeh
Mahmoud Khadijeh 2018년 11월 17일

0 개 추천

Could you please send your code to me ?
I am working on a project like this and I really need it
Phung Trung
Phung Trung 2019년 12월 17일

0 개 추천

Can you send me your code. I have a problem with it

카테고리

질문:

ThB
2016년 11월 3일

댓글:

2022년 10월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by