ELE4310 Modern Communication Systems Tutorial 1 Introduction to …
Short Description
Tutorial 1 - Introduction to Simulink. Introduction. Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB …
Website: opto.ee.cuhk.edu.hk | Filesize: 1983kb
Content
P.1 of 10
ELE4310 Modern Communication Systems
Tutorial 1 - Introduction to Simulink
Introduction
Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB
to offer modeling, simulating, and analyzing of dynamical systems under a graphical user interface
(GUI) environment.
Getting Started
Execute MATLAB and type “simulink” in the command window, or click the icon in the tool bar.
The “Simulink Library Browser” window will pop up.
For searching blockset group / block
Descriptions for the selected blockset group / block
Library
Blockset groups (grey) / blocks (white)
Click the “+” to see content of the blockset group
Create a new modelP.2 of 10
Start your own model
Click the “new file icon” in the toolbar or press CTRL+N to start a model. A new window will appear
and you can drag the blocks from the library into this window. The constructed model will be simulated.
Example 1:
Simulate the equation A(t)cos(2pfct), for 0 < t < 1, unit: second
where A(t) = t for t > 0, fc = 50Hz
Step 1: Find the suitable sources and tune the parameters:
n Source 1: cosine wave with frequency 50Hz
l There is no “cosine” wave in the library, but we can use the “sine” wave instead, since
cos(q)=sin(q+p/2)
l Descriptions:
Sine Wave: Output a sine wave where the sine type determines the computational technique
used. The parameters in the two types are related through:
Samples per period = 2*pi / (Frequency * Sample time)
Number of offset samples = Phase * Samples per period / (2*pi)
Use the sample-based sine type if numerical problems due to running for large times (e.g.
overflow in absolute…
Get the file Download here
Related Books:Related Searches: mathworks inc, graphical user interface, simulink library, grey blocks, computational technique
Comments
Leave a Reply