According to an aspect of the present inventive concept there is provided a method for diffusion weighted magnetic resonance imaging, comprising: generating by a gradient coil of a magnetic resonance imaging scanner a time-dependent magnetic field gradient G(t) = [G