step = [-0.007 0.63 2.153 3.402 4.257 4.982 5.669 5.937 6.01 6.037 5.804 5.451 4.783 4.013 3.061 2.108 1.055 0.239 0.021];

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])

