Introduction to Simulink with Engineering Applicatioins, Second Edition

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 library in the Simulink group of libraries and contains the blocks shown below. Their functions are illustrated with examples.

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 in 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 in 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) sin x - 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 in Figure 18.5

18.4 The Decrement Stored Integer Block

The Decrement Stored Integer block decreases the stored integer value of...

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: Long Pass Filters and Short Pass Filters
Finish!
Privacy Policy

This is embarrasing...

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