Any ideas why this atan2 command doesn't work? I need the theta values in radians, not degrees. Thanks, Kim
weight = 4000;
lengthA = 1.0;
lengthB = 1.8;
lengthL = 0.7;
retracted = 5;
deployed = 90;
theta = linspace(retracted, deployed);
alpha = atan2((lengthA * sin(theta)) ./ (lengthL - lengthA * cos(theta)));
force = weight *((lengthB * cos(theta)) ./ (lengthA * cos(90 - theta - alpha)));