MATLAB prototype for map seeking circuits