Simulink Tutorial on Digital Modulation Methods - Cengage Learning

Simulink Tutorial on Digital Modulation Methods - Cengage Learning Simulink Tutorial on Digital Modulation Methods - Cengage Learning

academic.cengage.com
from academic.cengage.com More from this publisher
12.01.2013 Views

578 CHAPTER 13. SIMULINK TUTORIAL ON DIGITAL MODULATION Figure 13.6: Simulation parameters window Figure 13.7: Source signal (Scope1) in order to obtain accurate results. The simulation is started from the menu bar with the command Similarly, the simulation is stopped using Simulation > Start Simulation > Stop To view the source signal, a double-click on the scope will open a window as depicted in Figure 13.7. © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

13.2. SHORT INTRODUCTION TO SIMULINK 579 A right mouse-click on the window opens a pop-up menu from which you can open the Axes properties window, depicted in Figure 13.8, in order to set the range of the y axis. The time range of the Scope window can be changed from the Parameters button in the menu bar in Figure 13.7 (see Figure 13.9). The other blocks in Figure 13.2 can be included in the same way. The carrier cos(4 ∗ pi ∗ u) is generated using the block Fcn from the Functions & Tables library. This block applies a specified expression such as cos(u) to the input variable u. Drag the block Fcn to your model and double-click on it. This will open the Block Parameters window, as depicted in Figure 13.10, where you can input the expression cos(4 ∗ pi ∗ u). Figure 13.8: Axes properties window of Scope1 Figure 13.9: Parameters window of Scope1 © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

13.2. SHORT INTRODUCTION TO SIMULINK 579<br />

A right mouse-click <strong>on</strong> the window opens a pop-up menu from which you can open<br />

the Axes properties window, depicted in Figure 13.8, in order to set the range of the<br />

y axis.<br />

The time range of the Scope window can be changed from the Parameters butt<strong>on</strong><br />

in the menu bar in Figure 13.7 (see Figure 13.9).<br />

The other blocks in Figure 13.2 can be included in the same way. The carrier<br />

cos(4 ∗ pi ∗ u) is generated using the block Fcn from the Functi<strong>on</strong>s & Tables library.<br />

This block applies a specified expressi<strong>on</strong> such as cos(u) to the input variable u.<br />

Drag the block Fcn to your model and double-click <strong>on</strong> it. This will open the Block<br />

Parameters window, as depicted in Figure 13.10, where you can input the expressi<strong>on</strong><br />

cos(4 ∗ pi ∗ u).<br />

Figure 13.8: Axes properties window of Scope1<br />

Figure 13.9: Parameters window of Scope1<br />

© 2013 <strong>Cengage</strong> <strong>Learning</strong>. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!