function step=step_A(PD,O,PHI0,draw_plot)

A = [0:90];
step = zeros(1,length(A));

N=5;

for i=[1:length(A)]
  [x,y]=trajectory(A(i),O,PD,PHI0,N,false);
  step(i)=max(x)/N;
endfor;

plot(A,step);
axis([0,90]);
title("Step vs Amplitud");
ylabel("Step (mm)");
xlabel("Amplitude (degrees)");
grid on;






