Abstract
A modified version of the least-squares variational technique is proposed to calculate resonance energies and widths with the help of the coordinate-rotation method. A numerical example is given for a model potential.