User`s guide
Transforms
4-11
To build the model, make the following parameter settings:
•In the Sine Wave block, set:
-
Amplitude = 1
- Frequency = [15 40]
- Phase offset = 0
- Sample time = 0.001
- Samples per frame = 128
•In the Matrix Sum block, set Sum along = Rows.
•In the Complex to Magnitude-Angle block, set
Output = Magnitude.
•In the Vector Scope block, set:
-
Input domain = Frequency in the Scope properties panel
-
Amplitude scaling = Magnitude in the Axis properties panel
•Set the
Stop time in the Parameters dialog box to inf, and start the
simulation by selecting
Start from the Simulation menu.
The scope shows the two peaks at 0.015 and 0.04 kHz, as expected.