Write MATLAB programming of below given topics along with their outputs.
1. Amplitude modulation
2. Frequency modulation and demodulation
3. Pulse width modulation
4. Pulse position modulation
5. Sampling theorm
6. A-law companding
7. Huffman encoding
8. Linear block codes
9. mu-law companding