Signal Processing Toolbox Previous page   Next Page

Step 1: Importing a Signal into SPTool

To import a signal into SPTool from the workspace or disk, the signal must be either:

For this example, create a new signal at the command line and then import it as a structure into SPTool:

  1. Create a random signal in the MATLAB workspace by typing
  2. If SPTool is not already open, open SPTool by typing
  1. The SPTool window is displayed.

  1. Select Import from the File menu in SPTool. The Import to SPTool dialog opens.

  1. The variable x is displayed in the Workspace Contents list. (If it is not, select the From Workspace radio button to display the contents of the workspace.)

  1. Select the signal and import it into the Data field:
    1. Make sure that Signal is selected in the Import As pull-down menu.
    2. Select the signal variable x in the Workspace Contents list.
    3. Click on the arrow to the left of the Data field or type x in the Data field.
    4. Type 5000 in the Sampling Frequency field.
    5. Name the signal by typing noise in the Name field.
    6. Press OK.
  1. At this point, the signal noise[vector] is selected in SPTool's Signals list.


Previous page  Filtering and Analysis of Noise Step 2: Designing a Filter Next page

© 1994-2005 The MathWorks, Inc.