step = [-0.072 0.877 2.11 3.035 4.186 4.918 5.612 5.962 6.043 6.041 5.765 5.445 4.813 4.048 3.043 2.102 1.064 0.234 0.011];

pd = [0:10:180];
plot(pd,step);
legend('A=50, Period=6');
grid on;
title('Step vs Phase difference')
xlabel('Phase difference (degrees)')
ylabel('Step (mm)')
axis([0,180])

