Based on the idea of the matrix displacement method, this paper designs a program which can be used to solve the internal force of the continuous beam and rigid frame with MATLAB. It mainly demonstrates how to design a program to realize the matrix displacement method with MATLAB. In addition, some techniques are included in order to realize the correspondence between the manual calculation and the computer calculation, such as “Using lambda to locate”, “Crossing out rows and columns” and visual design. Therefore, based on the structural mechanics, combined with the principle of matrix displacement method, this paper shows the whole process from inputting the information of the rigid frame to solving the internal force of the rigid frame to outputting the bending moment diagram using MATLAB as the programming tool.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.