Zinedine Zidane has resigned as Real Madrid manager with immediate effect, according to media reports, just days after the club were beaten to the La Liga title by Atletico Madrid.