Four-Bar Mechanism Simulation

We should really be using link and joint objects that contain within them functions (methods) that can calculate the lengths/angles of the objects. Drawing the Linkage A neat way to draw the mechanism is to define an adjacency matrix representing the graph of the mechanism and use the MATLAB function gplot to draw it for you. ................
................