lab7 - can reach down, but only if the dimensions of the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Doug Rivas ME 218 Lab 7 M 5-7 7.1 robotlab.m: alpha = [0:pi/100:pi/2]; beta = [0: pi/100: pi]; [alpha, beta]= meshgrid(0: pi/100: pi/2,0: pi/100: pi/2); R= cos(alpha) + cos(alpha + beta); surf(alpha, beta, R) (Matlab outputs graph, therefore dimensions agree) 7.2 robotlab.m: alpha = [0:pi/100:pi/2]; beta = [0: pi/100: pi]; [alpha, beta]= meshgrid(0: pi/100: pi/2,0: pi/100: pi/2); R= cos(alpha) + cos(alpha + beta);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
surf(alpha, beta, R) xlabel( 'alpha' ) ylabel( 'beta' ) zlabel( 'R' ) 7.3 The angles that allow for greatest height are alpha = pi/2 and beta = 0 . The robot arm
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: can reach down, but only if the dimensions of the alpha and beta arrays are changed because they currently do not allow for a negative height. 7.4 7.5 Same as figure above. 7.6 7.7 Where Ang is a 1x2 matrix, [alpha beta], robotJac.m: function [ Jac ] = robotJac( Ang ) %NEWTONSYS Summary of this function goes here % Detailed explanation goes here Jac(1,1)= -1.2*sin(Ang(1))-1.2*sin(sum(Ang)); Jac(1,2)= -1.2*sin(sum(Ang)); Jac(2,1)= 1.2*cos(Ang(1))+1.2*cos(sum(Ang)); Jac(2,2)= 1.2*cos(sum(Ang)); 7.8...
View Full Document

This note was uploaded on 04/07/2008 for the course ME 218 taught by Professor Unknown during the Spring '08 term at University of Texas at Austin.

Page1 / 3

lab7 - can reach down, but only if the dimensions of the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online