DSP Blockset Previous page   Next Page

Part 1 -- Creating a Signal with Added Noise

In this section of the tutorial, you will create a signal with added noise. Later in the tutorial, you will filter this signal with a fixed-point filter that you design with the Filter Realization Wizard.

  1. Type

  1. at the MATLAB command line. You should hear a voice say "MATLAB." This is the signal to which you will add noise.

  1. Create a noise signal by typing

  1. at the command line. You can hear the noise signal by typing

  1. Add the noise to the original signal by typing

  1. at the command line.

  1. Scale the signal with noise by typing

  1. at the command line. You scale the signal to try to avoid overflows later on. You can hear the scaled signal with noise by typing

  1. View the scaled signal with noise by typing

  1. at the command line.

The spectrogram will appear as follows.

In the spectrogram, you can see the noise signal as a horizontal line at about 2800 Hz, which is equal to 3*Fs/8.


Previous page  Designing and Implementing a Fixed-Point Filter Part 2 -- Creating a Fixed-Point Filter with the Filter Realization Wizard Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS