Stuart’s MATLAB Videos

Watch and Learn

Simple visualizations for a statics problem in MATLAB

Posted by Doug Hull,

A colleague was trying to draw some structures and do basic static analysis on them. He wanted to write a routine that would draw a pinned beam given the locations of the two pins. This can be done pretty easily in MATLAB with a patch. This video shows how to do that. It also discusses strategies such as not using ‘Magic Numbers’ in your code.