Multi-functional dipole antennas based on artificial magnetic metamaterials