  We study the radio spectra of two magnetars PSR J1550-5418 and J1622-4950. We
argue that they are good candidates for the pulsars with gigahertz-peaked
spectra as their observed flux density decreases at frequencies below 7 GHz. We
suggest this behavior is due to the influence of pulsars' environments on the
radio waves. Both of the magnetars are associated with supernova remnants, thus
are surrounded by a hot, ionized gas, which can be responsible for the
free-free absorption of radio-waves. We conclude that the GPS feature of both
magnetars and typical pulsars are formed by similar processes in the
surrounding media, rather than by different radio-emission mechanisms. Thus,
the radio magnetars PSR J1550-5418 and J1622-4950 can be included in the class
of the gigahertz-peaked spectra pulsars.
