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:
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.
When you are finished observing the simulation, stop the model by selecting Stop from the Simulation menu.
![]() | Running the Model | Saving a Model | ![]() |