Digital Signal Processing Reference
In-Depth Information
Editing, Running, and Saving Simulink ® Files
The complete system is created in the model window by using components
from the various available libraries. Once a complete model is created, save
the model into a filename.mdl model file. Click on Simulation and select
Run . The simulation will run, and the output plots can be displayed by
clicking on the appropriate sinks . Save the output plots, also, into files. The
model and output files can be printed out from the files.
Demo Files
Try out the demo files, both in the main library window and in the Toolboxes
window. There are several illustrative demonstration files in the areas of
signal processing, image processing, and communications.
Exercise 3: Simulation of continuous-time LTI systems
a.
Create Simulink ® models for the continuous-time system shown
in Figure 1.6. Before starting any simulation, select the Simulation
button from the model window, and then select the Parameter
button. Modify the start time and stop time of the simulation to
complete at least two periods of the signal source.
b.
Run the simulation for the sinusoidal signal, x ( t ), with amplitude
of 5 Volts and frequency of
= 10 rad./s. The signal n ( t ) is a
pseudo-random noise with maximum amplitude of 0.5 volts.
Obtain a printout of the combined output signal y ( t ) on the time
scope, and familiarize yourself with the settings.
ω
Time scope
Analog signal
x(t) = A sin(
ω
t)
Output y(t)
+
Time scope
Pseudo-random noise
n(t)
Time scope
FIGURE 1.6
Simulink ®
model of a continuous-time system.
 
Search WWH ::




Custom Search