An MRI apparatus comprises a waveform controlling means for calculating a
radio frequency pulse and applying the pulse to an irradiating means, and
the waveform controlling means reads out a radio frequency pulse waveform
vector from a first memory means which memorizes multiple radio frequency
pulse waveform vectors, calculates a simulated irradiation pattern, and
calculates a radio frequency pulse waveform which gives the minimum value
of weighted sum of squares of differences of absolute values and squares
of differences of phases for an ideal irradiation pattern and the
simulated irradiation pattern. An RF pulse waveform showing superior
ideal irradiation pattern reproducibility and providing reduced power of
the RF waveform is formed, and safety of MRI subject is improved by
performing imaging using such an RF pulse.