AP_ASSOC.description='Speed versus Assoc Time';
AP_ASSOC.MPH = [
15;
30;
35;
40;
45;
50;
55;
60;
65;
70;
75;
];

AP_ASSOC.MPS=[
6.667;
13.333;
15.556;
17.778;
20.0;
22.222;
24.444;
26.667;
28.889;
31.111;
33.333;
];

AP_ASSOC.TIME=[
21.6178;
11.1394;
9.5788;
8.5069;
7.6565;
6.9294;
6.3906;
5.79;
5.7089;
4.9757;
4.6473;
];

DIST = zeros (11,3);
for i = 1:11
  DIST (i, 1) = AP_ASSOC.MPH (i);
  DIST (i, 2) = AP_ASSOC.MPS (i) * AP_ASSOC.TIME (i);
% we start from 200, so we subtract it from 500, which is AP's X coord
% i.e., DIST (i, 2) + 200 - 500
  DIST (i, 3) = sqrt (((DIST (i, 2) - 300.0) * (DIST (i, 2) - 300.0)) + 25);
end

  
