Create randomwaypoint.m

1 Dimensional Random waypoint model.