Matrix polymerization of aniline in the presence of polyamides containing sulfo acid groups