Forward Kinematics of a 2R robotic arm using matlab
Objective: %kinematics of a 2R robotic arm clear all close all clc %inputs L1 = 1; L2 = 0.5; theta1 = linspace(0,90,10); theta2 = linspace(0,90,10); %for loop for creating length of links ct = 1 for i = 1:length(theta1) THETA1 = theta1(i); for j = 1:length(theta2) THETA2 = theta2(j); %coordinates x0 = 0; yo = 0; x1 = L1*cosd(THETA1);…