In order to produce field strength gradients (x,y) for a NMR machine, the
curve-shaped gradients are substituted by coils arraigned in tubes. Said
tubes are distributed on the annular circumference (6) of the examination
space of the tunnel NMR machine. Said invention makes it possible to
produce at request field strength gradients in all necessary directions
by providing each tube with the same set of coil elements and supplying
them with selected currents.