Getting Started    

Adding Noise to the Model

You can add noise to the model using the AWGN Channel block, from the Channels library of the Communications Blockset. The block adds white Gaussian noise to the sine wave. Move the block from the Simulink Library Browser into the model window, as described in Moving Blocks into the Model Window. You can add the block to the model as follows:

  1. Extend the line between the Sine Wave block and the Vector Scope block by dragging the Vector Scope block to the right, to make room for the AWGN Channel block.
  2. Click the AWGN block and drag it onto the line. This automatically connects the Sine Wave block and the Vector Scope block to the AWGN Channel block.

Sine Wave Plus Noise

Double-click the AWGN Channel block to bring up its mask, as shown in the following figure. Then, click the down arrow in the Mode field and select Signal to noise ratio (SNR).

Mask for the AWGN Channel Block

Now when you run the model, the scope clearly shows the added noise.

Sine Wave with Noise Added

When you are finished observing the simulation, stop the model by selecting Stop from the Simulation menu.


  Running the Model Saving a Model