Resonant second harmonic generation of a Gaussian electromagnetic beam in a collisional magnetoplasma