Lab 4.
Amplitude
modulation.
Put a message onto a carrier: DSB, SSB and AM in MATLAB code and in Simulink, checked on the Spectrum Analyzer. Move a slider and the figure follows.
Read the concepts first →Your details
Free to use, no sign up. Your name is only printed on your own lab sheet, and your work is saved in this browser so you can continue later. Nothing is sent to a server.
Amplitude Modulation in MATLAB and Simulink
This virtual lab puts a message onto a carrier in a MATLAB style desktop. You build double sideband, single sideband and full AM signals in code, then build the same signals as block diagrams with a scope and a spectrum analyzer, so every waveform is seen both in time and in frequency.
Sliders set the carrier frequency, the tone frequency and the modulation index, and the figures redraw at once. You see the envelope follow the message, the carrier line disappear in DSB-SC, one sideband vanish in SSB and the sidebands grow as the modulation index rises. Two tone AM shows how a real message with several frequencies fills the band.

What you do on this bench
- Compare the spectra of double sideband and single sideband signals.
- Make AM of a 5 kHz carrier by a 1 kHz tone and change the modulation index.
- Make SSB of the same tone and carrier and find the remaining sideband.
- Build two tone AM in code and then as a block diagram.
- Run block diagram models of a sine on a scope, a product of two sines, DSB-SC, AM and SSB by the phasing method.
On the bench
- MATLAB style desktop
- Block diagram models with a scope and a spectrum analyzer
- Sliders for carrier, tone and modulation index
- A PDF report of your figures
Free, runs in the browser, no sign up and nothing to install. A computer with a graphics card gives the smoothest 3D view.
Questions students ask
What is the modulation index?
It is the ratio of the message amplitude to the carrier amplitude. At 1 the envelope just touches zero; above 1 the envelope folds over and a simple envelope detector can no longer recover the message.
Why does DSB-SC save power?
Full AM spends at least two thirds of its power on the carrier, which carries no information. DSB-SC removes the carrier, so all the transmitted power is in the sidebands.
How does the phasing method make SSB?
It multiplies the message and a 90 degree shifted copy by a carrier and a 90 degree shifted carrier, then adds or subtracts the two products. One sideband cancels and the other remains.
Read the concepts page for this lab · All Communication Systems virtual labs · All articles