1. A method for generating a matrix to correct artifacts in a magnetic resonance image, said magnetic resonance image being reconstructed from measurement data acquired using a magnetic resonance pulse sequence that comprises activating at least one magnetic field gradient, having a gradient field strength, during radiation of at least one non-selective radio frequency excitation pulse said measurement data being entered into k-space at respective points in k-space, said method comprising: loading an excitation profile into a processor for each excitation pulse used to acquire said magnetic resonance measurement data, said excitation profile representing said gradient field strength as a function of a measurement location at which said measurement data were acquired, and the point in k-space at which said measurement data are entered; and in said processor, from each loaded excitation profile, calculating an element of a transposed, inverted disturbance matrix that corresponds to said location and said k-space point, and making said transposed, inverted disturbance matrix available in electronic form at an output of said processor in a format allowing operation of said transposed, inverted disturbance matrix on said magnetic resonance measurement data to correct artifacts in said magnetic resonance image.