5 GHz observations of isolated and group galaxies