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.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.