Digital Signal Processing Reference
In-Depth Information
i.
Comment on the differences between these two commands, and
clearly state what would be the outputs of these two operations.
ii.
Write a small MATLAB program to evaluate these two com-
mands for the case of a = [1 2 3] and b = [4 5 6]. Are both the
operations a*b and a.*b possible? If not, what change in the
syntax would make the operation possible?
1.3.2
Simulink ®
Basics
After logging into MATLAB, you will receive the prompt >>. In order to
open Simulink ® , 3
type in the following:
>> simulink
Alternately, click on the Simulink ® icon in the MATLAB Command window.
General Simulink ® Operations
Two windows will open: the model window and the library window . The
model window is the space used for creating your simulation model. In
order to create the model of the system, components will have to be selected
from the Simulink ® library, using the computer mouse, and dragged into the
model window. If you browse the library window, the following sections
will be seen. Each section can be accessed by clicking on it.
Sources: This section consists of different signal sources, such as
sinusoidal, triangular, pulse, random, or files containing audio or
video signals.
Sinks: This section consists of measuring instruments such as scopes
and displays.
Math: This section consists of linear components performing oper-
ations such as summing, integration, and product.
Continuous: This section consists of simulation blocks to simulate
continuous-time systems.
Discrete: This section consists of simulation blocks to simulate dis-
crete-time systems.
Signal Routing: Multiplexers, demultiplexers.
Blocksets: Blocksets specify different specialized areas of electrical
engineering. Some examples are given below:
Communications
DSP
Neural Nets
CDMA Spread Spectrum models
Search WWH ::




Custom Search