SinBench
← All labs · Communication Systems · Free virtual lab

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 →
4MATLAB scripts
6Simulink models
3practice tasks
Before you start

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.

01
Read the concepts page: modulation, the AM equation and its spectrum, DSB-SC, SSB and over modulation.
02
Guided mode takes you through the sideband spectra, the Simulink models and the practice tasks, and ticks each step when it is really done.
03
Add figures, scopes and spectra to your report and export one PDF with your name and the values used.
Designed by
© 2026 Fasih Ullah Saleem. All rights reserved. · About · Terms of Use · Privacy
About this virtual lab

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.

Amplitude Modulation in MATLAB and Simulink: the MATLAB style desktop with its scripts and figures
The bench of this lab, as it looks after you enter it.

What you do on this bench

  1. Compare the spectra of double sideband and single sideband signals.
  2. Make AM of a 5 kHz carrier by a 1 kHz tone and change the modulation index.
  3. Make SSB of the same tone and carrier and find the remaining sideband.
  4. Build two tone AM in code and then as a block diagram.
  5. 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.