A Determination of the Luminosity Function of Radiogalaxies at 400 and 2700 MHz