A number of techniques that recently have been used for fast NMR-imaging are based on a hybrid sequence of echo planar imaging (EPI) and FLASH imaging: after each NMR excitation several k-space lines are measured. The complete k-space is covered by performance of several excitations. It has been observed that there is usually an optimal hybrid sequence that maximizes the signal-to-noise ratio. In this work, a method is presented that allows a determination of the optimal sequence as a function of the relaxation times T1 and T2*.