I was wondering if anyone knew how to solve this problem.

I have a sphere which is divided into bins (sections). The sphere is divided using the angle of elevation and the azimuth (horizontal) angle. Each bin is represented by the feature vector (j,k). Where j is the angle of elevation and k is the azimuth angle.

What i want to know is given a point how can i find out which bin it is in?

I have the following information about the sphere:-
- radius, centre point, north pole, angle of elevation and azimuth angle divisions.


Any help on this would be greatly appreciated.