Introduction to Simulink with Engineering Applications

Chapter 18: The Additional Math - Increment / Decrement Library

Overview

This chapter is an introduction to the Additional Math - Increment / Decrement Library. This is the seventeenth and last library in the Simulink group of libraries and contains the blocks shown below. We will describe the function of each block included in this library and we will perform simulation examples to illustrate their applications.

18.1 The Increment Real World Block

The Increment Real World block increases the real-world value of the signal by one.

Example 18.1

The model of Figure 18.1 implements the function y = 3x + 5 as indicated by the XY Graph in Figure 18.2.


Figure 18.1: Model for Example 18.1


Figure 18.2: The XY graph for the model of Figure 18.1

18.2 The Decrement Real World Block

The Decrement Real World block decreases the real-world value of the signal by one.

Example 18.2

The model of Figure 18.3 implements the function y = -3(x + 1)as indicated by the XY Graph in Figure 18.4.


Figure 18.3: Model for Example 18.2


Figure 18.4: XY graph for the model of Figure 18.3

18.3 The Increment Stored Integer Block

The Increment Stored Integer block increases the stored integer value of a signal by one.

Example 18.3

The model of Figure 18.5 implements the function y = (2 + x)sinx - 1. The XY Graph for this model is shown in Figure 18.6.


Figure 18.5: Model for Example 18.3


Figure 18.6: XY graph for the model of Figure 18.5

18.4 The Decrement Stored Integer...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: IC Electronic Filters
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.