The link below downloads the Software developped with MATLAB that computes the rotational speeds of the links of a mechanism and the contact frequencies in gear pairs and turning pairs.
A "Read Me" file is attached. It can help you get started, gives information on how to run the program and gives a few examples.