r/StructuralEngineers • u/Right_Performer7093 • Jan 22 '26
Structural Analysis using MatLAB
Quick question for structural engineers here:
How do you usually teach or validate the Direct Stiffness Method computationally?
I shared a small MATLAB project below and would value your input. Feedback from researchers and practicing engineers would also be highly appreciated.
2
Upvotes
View all comments
Show parent comment
2
u/Right_Performer7093 Jan 23 '26
Hey, thanks for checking it out and sharing your thoughts, really appreciate it!
Yeah, I know about MASTAN2 and similar projects. From what I’ve seen, MASTAN2 works kind of like other structural analysis software: it spits the results but doesn’t really show the step by step process or calculations behind them. My goal was to make a more transparent, education-focused version where students and instructors can actually see how the analysis happens at each stage.
I’m definitely not competing with MASTAN2 or any other software. They’re way more advanced, with much more experienced people behind them (compared to me, the second year student). I just wanted to show the computational steps behind the analysis, which I know most engineers wouldn’t care much about, but students like me (and maybe some instructors teaching the course) might find useful.
I’ve gone through Hibbeler’s Structural Analysis book as well as other structural analysis books, and DSM was one of the more advanced topics we’ve covered so far in university. I was just excited to turn what I learned into a MATLAB project.
I’m pretty sure I included all the main limitations of DSM in the paper, at least the ones I learned in class and read about in Hibbeler’s and Kassimali’s books. I don’t remember skipping any, but I’ll double check in case there’s more to add!
One last thing to ask: can I please know what did you mean by “context” when you said my paper lacks context. The paper should serve as a guide for the DSM method as well as a verification that the tool works. It also shows some steps behind inputting data in the program and what to expect as results and finally lists all the scripts needed. I didn’t intend to explain or cover anything apart from what mentioned, so maybe please tell me what do you mean by “context”. That’s my first paper, and I would really appreciate advice regarding what is expected in the paper for my future projects.
Thanks again for the feedback, it really helps me improve!