Skip to content

Instantly share code, notes, and snippets.

@DrewRobert
Created September 19, 2018 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrewRobert/2613998e1c42d68be980908130b9cb7e to your computer and use it in GitHub Desktop.
Save DrewRobert/2613998e1c42d68be980908130b9cb7e to your computer and use it in GitHub Desktop.
Homework 3 fwkin
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