Calculating Shear And Moment Diagrams In Matlab From