A method for tracking an object, including producing an unperturbed energy field at a plurality of predetermined frequencies in the vicinity of the object and determining a characteristic of a perturbing energy field induced responsive to the unperturbed field, due to introduction of an article, responsive to the unperturbed field, into the vicinity of the object. The method further includes receiving a plurality of resultant signals responsive to the unperturbed and perturbing energy fields generated at a location of the object after introduction of the article, determining an optimal frequency for the unperturbed energy field from amongst the plurality of predetermined frequencies responsive to a parameter of the resultant signals, and determining spatial coordinates of the object responsive to the resultant signal at the optimal frequency.