Complete am and qam examples