Created
September 19, 2018 21:45
-
-
Save DrewRobert/2613998e1c42d68be980908130b9cb7e to your computer and use it in GitHub Desktop.
Homework 3 fwkin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [transMat] = fwkin(theta,d,a,alpha) | |
transMat = [cos(theta), -sin(theta)*cos(alpha), sin(theta)*sin(alpha), a*cos(theta); | |
sin(theta), cos(theta)*cos(alpha), -cos(theta)*sin(alpha), a*sin(theta); | |
0, sin(alpha), cos(alpha), d; | |
0, 0, 0, 1]; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment