function magnify

Resize given array by the scaling factor. Each pixel in the resized array will be blown up and consequently contain scale^2 pixels. The optional argument smooth gives the fwhm of a gaussian with which the resultant array will we smoothed. The total flux in the array will be conserved.

Syntax
result = magnify(IMAGE, scale [, fwhm])

Arguments
IMAGE:   A matrix
scale:   An integer number.
fwhm:   A real number.