Digital Signal Processing Reference
In-Depth Information
b.
Approximately sketch the following discrete-time signals in the
range 0
10:
i.
x
(
n
) =
u
(
n
) -
u
(
n
- 3)
ii.
x
(
n
) =
u
(3 -
n
)
iii.
x
(
n
) = 0.5
n
[
u
(
n
) -
u
(
n
- 5)]
≤
n
≤
c.
Determine if each of the following signals is periodic or nonperiodic.
If a signal is periodic, specify its fundamental period:
i.
x
(
n
) =
e
j
π
n
ii.
x
(
n
) = 0.7
n
u
(
n
)
iii.
x
(
n
) = cos(
π
n
/2) cos(
π
n
/4)
1.3
Computer Laboratory: Introduction
to MATLAB
®
/Simulink
®
Programming software utilized in Digital Signal Processing (DSP) applica-
tions can be placed in the following two categories:
•
Simulation software:
This software is used to model DSP systems
and, hence, is a very valuable tool to design actual systems. In this
laboratory, MATLAB and Simulink
®
are used to model systems.
While MATLAB requires programs to be written, Simulink
®
is a
graphical tool, which has built-in DSP blocks.
•
Software for hardware control:
This software is required to run DSP
hardware such as Digital Signal Processors (DSPs). Examples of this
software are DSP routines written in Assembly or C programming
languages.
1.3.1
MATLAB Basics
Please try out each of the commands given below and familiarize yourself
with the types of MATLAB commands and formats.
3
System Operating Commands
PC-based MATLAB can be opened by clicking on the MATLAB icon. The
MATLAB prompt is >>, which indicates that commands can be started either
line by line or by running a stored program. A complete program, consisting
of a set of commands, can be stored in a MATLAB file for repeated use as
follows: