Professional Documents
Culture Documents
Link Lengths Are,: (Array For X) (Array For Y) % Define Meshgrid
Link Lengths Are,: (Array For X) (Array For Y) % Define Meshgrid
Link Lengths Are,: (Array For X) (Array For Y) % Define Meshgrid
l1=163.74;
l2=321.01;
l3=35.87;
a3=1.5;
q1=linspace(-pi/18,5*pi/18,50); % q1 range from -10deg to +50 deg and divide into 50 units
q2=linspace(-pi/3,pi/6,50); % q2 from -60deg to +30deg and divide into 50 units
q3=linspace(-pi/6,pi/6,50); % q3 from -30deg to +30deg and divide into 50 units
X=l2.sin(q1)-a3.[sin(q1).sin(q3)-cos(q1).cos(q2).cos(q3)]+l3.cos(q1).sin(q2);
Y=l2.cos(q1)-a3.[cos(q1).sin(q3)+cos(q2).cos(q3).sin(q1)]-l3.sin(q1).sin(q2);
Z= l1+l3.cos(q2)+a3.cos(q3).sin(q2);
In my calculation,
I defined following,
Please go through this calculation process and let me know how I get the workspace plot from matlab. Your kind
help is highly appreciate and more valuable to me at this moments.
Best Regards
Malin Gunasekara