Signals and Systems with MATLAB Computing and Simulink Modeling 3rd Edition Steven T. Karris 2024 scribd download
Signals and Systems with MATLAB Computing and Simulink Modeling 3rd Edition Steven T. Karris 2024 scribd download
com
https://ebookfinal.com/download/signals-and-systems-with-
matlab-computing-and-simulink-modeling-3rd-edition-steven-t-
karris/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookfinal.com/download/signals-and-systems-with-matlab-
applications-2nd-edition-steven-t-karris/
ebookfinal.com
https://ebookfinal.com/download/modeling-and-simulation-in-
ecotoxicology-with-applications-in-matlab-and-simulink-kenneth-r-
dixon/
ebookfinal.com
https://ebookfinal.com/download/modeling-and-simulation-of-systems-
using-matlab-and-simulink-1-har-cdr-edition-devendra-k-chaturvedi/
ebookfinal.com
https://ebookfinal.com/download/mathematics-for-business-science-and-
technology-with-matlab-and-excel-computations-third-edition-steven-
karris/
ebookfinal.com
Electronic Devices and Amplifier Circuits Steven T. Karris
https://ebookfinal.com/download/electronic-devices-and-amplifier-
circuits-steven-t-karris/
ebookfinal.com
https://ebookfinal.com/download/signals-systems-transforms-and-
digital-signal-processing-with-matlab-1st-edition-michael-corinthios/
ebookfinal.com
https://ebookfinal.com/download/introduction-to-modeling-and-
simulation-with-matlab-and-python-1st-edition-steven-i-gordon/
ebookfinal.com
https://ebookfinal.com/download/system-simulation-techniques-with-
matlab-and-simulink-1st-edition-dingyu-xue/
ebookfinal.com
https://ebookfinal.com/download/dynamic-modeling-and-control-of-
engineering-systems-3rd-edition-bohdan-t-kulakowski/
ebookfinal.com
Signals and Systems
with MATLAB ® Computing
and Simulink ® Modeling
Third Edition
Steven T. Karris
Includes
step-by-step
mn
N –1 – j2π ------- procedures
∑ x [n ]e
N
X[ m ] =
n=0 for designing
analog and
digital filters
Orchard Publications
www.orchardpublications.com
Students and working professionals will find Signals and
Signals and Systems Systems with MATLAB ® Computing and Simulink ®
with MATLAB ® Computing Modeling, Third Edition, to be a concise and easy-to-learn
and Simulink ® Modeling text. It provides complete, clear, and detailed explanations
of the principal analog and digital signal processing
Third Edition concepts and analog and digital filter design illustrated
with numerous practical examples.
Steven T. Karris is the president and founder of Orchard Publications, has undergraduate and
graduate degrees in electrical engineering, and is a registered professional engineer in California
and Florida. He has more than 35 years of professional engineering experience and more than 30
years of teaching experience as an adjunct professor, most recently at UC Berkeley, California.
Orchard Publications
Visit us on the Internet
www.orchardpublications.com
or email us: info@orchardpublications.com
ISBN-10: 0-9
9744239-9
9-8
8 $74.95 U.S.A.
Steven T. Karris
Orchard Publications
www.orchardpublications.com
Signals and Systems with MATLAB® Computing and Simulink Modeling®, Third Edition
Copyright © 2007 Orchard Publications. All rights reserved. Printed in the United States of America. No part of this
publication may be reproduced or distributed in any form or by any means, or stored in a data base or retrieval system,
without the prior written permission of the publisher.
Product and corporate names are trademarks or registered trademarks of the Microsoft™ Corporation and The
MathWorks™ Inc. They are used only for identification and explanation, without intent to infringe.
ISBN−10: 0−9744239−9−8
ISBN−13: 978−0−9744239−9−9
Copyright TX 5−471−562
Preface
This text contains a comprehensive discussion on continuous and discrete time signals and
systems with many MATLAB® and several Simulink® examples. It is written for junior and
senior electrical and computer engineering students, and for self−study by working professionals.
The prerequisites are a basic course in differential and integral calculus, and basic electric circuit
theory.
This book can be used in a two−quarter, or one semester course. This author has taught the
subject material for many years and was able to cover all material in 16 weeks, with 2½ lecture
hours per week.
To get the most out of this text, it is highly recommended that Appendix A is thoroughly
reviewed. This appendix serves as an introduction to MATLAB, and is intended for those who
are not familiar with it. The Student Edition of MATLAB is an inexpensive, and yet a very
powerful software package; it can be found in many college bookstores, or can be obtained directly
from
The MathWorks™ Inc., 3 Apple Hill Drive, Natick, MA 01760−2098
Phone: 508 647−7000, Fax: 508 647−7001
http://www.mathworks.com
e−mail: info@mathworks.com
The elementary signals are reviewed in Chapter 1, and several examples are given. The purpose of
this chapter is to enable the reader to express any waveform in terms of the unit step function, and
subsequently the derivation of the Laplace transform of it. Chapters 2 through 4 are devoted to
Laplace transformation and circuit analysis using this transform. Chapter 5 is an introduction to
state−space and contains many illustrative examples. Chapter 6 discusses the impulse response.
Chapters 7 and 8 are devoted to Fourier series and transform respectively. Chapter 9 introduces
discrete−time signals and the Z transform. Considerable time was spent on Chapter 10 to present
the Discrete Fourier transform and FFT with the simplest possible explanations. Chapter 11
contains a thorough discussion to analog and digital filters analysis and design procedures. As
mentioned above, Appendix A is an introduction to MATLAB. Appendix B is an introduction to
Simulink, Appendix C contains a review of complex numbers, and Appendix D is an introduction
to matrix theory.
New to the Second Edition
This is an extensive revision of the first edition. The most notable change is the inclusion of the
solutions to all exercises at the end of each chapter. It is in response to many readers who
expressed a desire to obtain the solutions in order to check their solutions to those of the author
and thereby enhancing their knowledge. Another reason is that this text is written also for self−
study by practicing engineers who need a review before taking more advanced courses such as
digital image processing.
Another major change is the addition of a rather comprehensive summary at the end of each
chapter. Hopefully, this will be a valuable aid to instructors for preparation of view foils for
presenting the material to their class.
New to the Third Edition
The most notable change is the inclusion of Simulink modeling examples. The pages where they
appear can be found in the Table of Contents section of this text. Another change is the
improvement of the plots generated by the latest revisions of the MATLAB® Student Version,
Release 14.
Orchard Publications
www.orchardpublications.com
info@orchardpublications.com
2
Table of Contents
1 Elementary Signals 1−1
1.1 Signals Described in Math Form .............................................................................1−1
1.2 The Unit Step Function ..........................................................................................1−2
1.3 The Unit Ramp Function ......................................................................................1−10
1.4 The Delta Function ............................................................................................... 1−11
1.4.1 The Sampling Property of the Delta Function ............................................1−12
1.4.2 The Sifting Property of the Delta Function ................................................1−13
1.5 Higher Order Delta Functions...............................................................................1−14
1.6 Summary ................................................................................................................1−22
1.7 Exercises.................................................................................................................1−23
1.8 Solutions to End−of−Chapter Exercises ................................................................1−24
MATLAB Computing
Pages 1−20, 1−21
Simulink Modeling
Page 1−18
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition i
Copyright © Orchard Publications
2.3.4 The Laplace Transform of the Delta Function δ ( t ) ................................. 2−18
2.3.5 The Laplace Transform of the Delayed Delta Function δ ( t – a ) .............. 2−18
2.3.6 The Laplace Transform of e –at u 0 ( t ) .......................................................... 2−19
– at
2.3.7 The Laplace Transform of t n e u 0 ( t ) ....................................................... 2−19
2.3.8 The Laplace Transform of sin ω t u 0 t ......................................................... 2−20
2.3.9 The Laplace Transform of cos ω t u0 t ......................................................... 2−20
2.3.10 The Laplace Transform of e –at sin ω t u 0 ( t ) ................................................. 2−21
2.3.11 The Laplace Transform of e –at cos ω t u 0 ( t ) ................................................. 2−22
2.4 The Laplace Transform of Common Waveforms .................................................. 2−23
2.4.1 The Laplace Transform of a Pulse............................................................... 2−23
2.4.2 The Laplace Transform of a Linear Segment .............................................. 2−23
2.4.3 The Laplace Transform of a Triangular Waveform .................................... 2−24
2.4.4 The Laplace Transform of a Rectangular Periodic Waveform.................... 2−25
2.4.5 The Laplace Transform of a Half−Rectified Sine Waveform ..................... 2−26
2.5 Using MATLAB for Finding the Laplace Transforms of Time Functions ............ 2−27
2.6 Summary ................................................................................................................ 2−28
2.7 Exercises................................................................................................................. 2−31
The Laplace Transform of a Sawtooth Periodic Waveform ............................... 2−32
The Laplace Transform of a Full−Rectified Sine Waveform.............................. 2−32
2.8 Solutions to End−of−Chapter Exercises................................................................. 2−33
ii Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
4.2 Complex Impedance Z(s).........................................................................................4−8
4.3 Complex Admittance Y(s) .....................................................................................4−11
4.4 Transfer Functions .................................................................................................4−13
4.5 Using the Simulink Transfer Fcn Block.................................................................4−17
4.6 Summary.................................................................................................................4−20
4.7 Exercises .................................................................................................................4−21
4.8 Solutions to End−of−Chapter Exercises.................................................................4−24
MATLAB Computing
Pages 4−6, 4−8, 4−12, 4−16, 4−17, 4−18, 4−26, 4−27, 4−28, 4−29, 4−34
Simulink Modeling
Page 4−17
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition iii
Copyright © Orchard Publications
6.8 Solutions to End−of−Chapter Exercises................................................................ 6−25
MATLAB Applications
Pages 6−12, 6−15, 6−30
iv Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Simulink Modeling
Page 7−31
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition v
Copyright © Orchard Publications
8.6.4 The Transform of f ( t ) = A cos ω 0 t [ u0 ( t + T ) – u 0 ( t – T ) ] .............................. 8−30
8.6.5 The Transform of a Periodic Time Function with Period T..................... 8−31
∞
8.6.6 The Transform of the Periodic Time Function f ( t ) = A ∑
n = –∞
δ ( t – nT ) .... 8−32
8.7 Using MATLAB for Finding the Fourier Transform of Time Functions............ 8−33
8.8 The System Function and Applications to Circuit Analysis............................... 8−34
8.9 Summary .............................................................................................................. 8−42
8.10 Exercises............................................................................................................... 8−47
8.11 Solutions to End−of−Chapter Exercises .............................................................. 8−49
MATLAB Computing
Pages 8−33, 8−34, 8−50, 8−54, 8−55, 8−56, 8−59, 8−60
vi Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
9.6.1 Partial Fraction Expansion ..................................................................... 9−25
9.6.2 The Inversion Integral............................................................................ 9−32
9.6.3 Long Division of Polynomials ................................................................ 9−36
9.7 The Transfer Function of Discrete−Time Systems ............................................ 9−38
9.8 State Equations for Discrete−Time Systems ...................................................... 9−45
9.9 Summary............................................................................................................. 9−48
9.10 Exercises ............................................................................................................. 9−53
9.11 Solutions to End−of−Chapter Exercises............................................................. 9−55
MATLAB Computing
Pages 9−35, 9−37, 9−38, 9−41, 9−42, 9−59, 9−61
Simulink Modeling
Page 9−44
Excel Plots
Pages 9−35, 9−44
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition vii
Copyright © Orchard Publications
11.2.1 RC Low−Pass Filter ............................................................................... 11−2
11.2.2 RC High−Pass Filter .............................................................................. 11−4
11.2.3 RLC Band−Pass Filter.............................................................................11−7
11.2.4 RLC Band−Elimination Filter ................................................................11−8
11.3 Low−Pass Analog Filter Prototypes ..................................................................11−10
11.3.1 Butterworth Analog Low−Pass Filter Design .......................................11−14
11.3.2 Chebyshev Type I Analog Low−Pass Filter Design..............................11−25
11.3.3 Chebyshev Type II Analog Low−Pass Filter Design ............................11−38
11.3.4 Elliptic Analog Low−Pass Filter Design ...............................................11−39
11.4 High−Pass, Band−Pass, and Band−Elimination Filter Design..........................11−41
11.5 Digital Filters ....................................................................................................11−51
11.6 Digital Filter Design with Simulink..................................................................11−70
11.6.1 The Direct Form I Realization of a Digital Filter.................................11−70
11.6.2 The Direct Form II Realization of a Digital Filter................................11−71
11.6.3 The Series Form Realization of a Digital Filter ....................................11−73
11.6.4 The Parallel Form Realization of a Digital Filter .................................11−75
11.6.5 The Digital Filter Design Block............................................................11−78
11.7 Summary ...........................................................................................................11−87
11.8 Exercises ...........................................................................................................11−91
11.9 Solutions to End−of−Chapter Exercises ...........................................................11−97
MATLAB Computing
Pages 11−3, 11−4, 11−6, 11−7, 11−9, 11−15, 11−19, 11−23, 11−24, 11−31,
11−35, 11−36, 11−37, 11−38, 11−40, 11−41, 11−42, 11−43, 11−45, 11−46,
11−48, 11−50, 11−55, 11−56, 11−57, 11−60, 11−62, 11−64, 11−67, 11−68,
and 11−97 through 11−106
Simulink Modeling
Pages 11−71, 11−74, 11−77, 11−78, 11−80, 11−82, 11−83, 11−84
viii Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
MATLAB Computing
Pages A−3 through A−8, A−10, A−13, A−14, A−16, A−17,
A−21, A−22, A−24, A−27
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition ix
Copyright © Orchard Publications
MATLAB Computing
Pages D−3, D−4, D−5, D−7, D−8, D−9, D−10,
D−12, D−19, D−23, D−27, D−29
Simulink Modeling
Page D−3
Excel Spreadsheet
Page D−28
References R−1
Index IN−1
x Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Chapter 1
Elementary Signals
T
his chapter begins with a discussion of elementary signals that may be applied to electric
networks. The unit step, unit ramp, and delta functions are then introduced. The sampling
and sifting properties of the delta function are defined and derived. Several examples for
expressing a variety of waveforms in terms of these elementary signals are provided. Throughout
this text, a left justified horizontal bar will denote the beginning of an example, and a right justi-
fied horizontal bar will denote the end of the example. These bars will not be shown whenever an
example begins at the top of a page or at the bottom of a page. Also, when one example follows
immediately after a previous example, the right justified bar will be omitted.
+
+ v out open terminals
−
vS −
We wish to describe v out in a math form for the time interval – ∞ < t < +∞ . To do this, it is conve-
nient to divide the time interval into two parts, – ∞ < t < 0 , and 0 < t < ∞ .
For the time interval – ∞ < t < 0 , the switch is open and therefore, the output voltage v out is zero.
In other words,
v out = 0 for – ∞ < t < 0 (1.1)
For the time interval 0 < t < ∞ , the switch is closed. Then, the input voltage v S appears at the
output, i.e.,
v out = v S for 0 < t < ∞ (1.2)
⎧ 0 –∞ < t < 0
v out = ⎨ (1.3)
⎩ vS 0 < t < ∞
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−1
Copyright © Orchard Publications
Chapter 1 Elementary Signals
0
t
Figure 1.2. Waveform for v out as defined in relation (1.3)
The waveform of Figure 1.2 is an example of a discontinuous function. A function is said to be dis-
continuous if it exhibits points of discontinuity, that is, the function jumps from one value to
another without taking on any intermediate values.
A well known discontinuous function is the unit step function u 0 ( t ) * which is defined as
⎧0 t<0
u0 ( t ) = ⎨ (1.4)
⎩1 t>0
In the waveform of Figure 1.3, the unit step function u 0 ( t ) changes abruptly from 0 to 1 at
t = 0 . But if it changes at t = t 0 instead, it is denoted as u 0 ( t – t 0 ) . In this case, its waveform and
definition are as shown in Figure 1.4 and relation (1.5) respectively.
1
u0 ( t – t0 )
t
0 t0
Figure 1.4. Waveform for u 0 ( t – t 0 )
* In some books, the unit step function is denoted as u ( t ) , that is, without the subscript 0. In this text, however, we
will reserve the u ( t ) designation for any input when we will discuss state variables in Chapter 5.
1−2 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Unit Step Function
⎧0 t < t0
u0 ( t – t0 ) = ⎨ (1.5)
⎩1 t > t0
−t0 0 t
Figure 1.5. Waveform for u 0 ( t + t 0 )
⎧0 t < –t0
u0 ( t + t0 ) = ⎨ (1.6)
⎩1 t > –t0
Example 1.1
Consider the network of Figure 1.6, where the switch is closed at time t = T .
R t = T
+
+ v out open terminals
−
vS −
Express the output voltage v out as a function of the unit step function, and sketch the appropriate
waveform.
Solution:
For this example, the output voltage v out = 0 for t < T , and v out = v S for t > T . Therefore,
v out = v S u 0 ( t – T ) (1.7)
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−3
Copyright © Orchard Publications
Chapter 1 Elementary Signals
vS u0 ( t – T )
v out
t
0 T
Figure 1.7. Waveform for Example 1.1
Other forms of the unit step function are shown in Figure 1.8.
Τ −Τ
t t t
0 0 0
(a) (b) (c)
−A −A −A
–A u0 ( t ) –A u0 ( t – T ) –A u0 ( t + T )
Au 0 ( – t ) Au 0 ( – t + T ) Au 0 ( – t – T )
A A A
t t −Τ 0
t
0 (d) 0 Τ (e) (f)
Τ −Τ
t t 0 t
0 (g) 0 (h) (i)
−A −A −A
–A u0 ( –t ) –A u0 ( – t + T ) –A u0 ( – t – T )
u0 ( t )
1
1
t t t
0 1 0 0
(c)
(a) (b)
–u0 ( t – 1 )
Figure 1.9. A rectangular pulse expressed as the sum of two unit step functions
1−4 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Unit Step Function
Thus, the pulse of Figure 1.9(a) is the sum of the unit step functions of Figures 1.9(b) and 1.9(c)
and it is represented as u 0 ( t ) – u 0 ( t – 1 ) .
The unit step function offers a convenient method of describing the sudden application of a volt-
age or current source. For example, a constant voltage source of 24 V applied at t = 0 , can be
denoted as 24u 0 ( t ) V . Likewise, a sinusoidal voltage source v ( t ) = V m cos ωt V that is applied to
a circuit at t = t 0 , can be described as v ( t ) = ( V m cos ωt )u 0 ( t – t 0 ) V . Also, if the excitation in a
circuit is a rectangular, or triangular, or sawtooth, or any other recurring pulse, it can be repre-
sented as a sum (difference) of unit step functions.
Example 1.2
Express the square waveform of Figure 1.10 as a sum of unit step functions. The vertical dotted
lines indicate the discontinuities at T, 2T, 3T , and so on.
v(t)
A
{ }
T 2T 3T
t
0
–A | ~
Line segment { has height A , starts at t = 0 , and terminates at t = T . Then, as in Example 1.1, this
segment is expressed as
v1 ( t ) = A [ u0 ( t ) – u0 ( t – T ) ] (1.8)
Line segment } has height A , starts at t = 2T and terminates at t = 3T . This segment is expressed
as
v 3 ( t ) = A [ u 0 ( t – 2T ) – u 0 ( t – 3T ) ] (1.10)
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−5
Copyright © Orchard Publications
Chapter 1 Elementary Signals
Thus, the square waveform of Figure 1.10 can be expressed as the summation of (1.8) through
(1.11), that is,
v ( t ) = v1 ( t ) + v2 ( t ) + v3 ( t ) + v4 ( t )
= A [ u 0 ( t ) – u 0 ( t – T ) ] – A [ u 0 ( t – T ) – u 0 ( t – 2T ) ] (1.12)
+A [ u 0 ( t – 2T ) – u 0 ( t – 3T ) ] – A [ u 0 ( t – 3T ) – u 0 ( t – 4T ) ]
Example 1.3
Express the symmetric rectangular pulse of Figure 1.11 as a sum of unit step functions.
i(t)
A
t
–T ⁄ 2 0 T⁄2
Figure 1.11. Symmetric rectangular pulse for Example 1.3
Solution:
This pulse has height A , starts at t = – T ⁄ 2 , and terminates at t = T ⁄ 2 . Therefore, with refer-
ence to Figures 1.5 and 1.8 (b), we obtain
T T T T
i ( t ) = Au 0 ⎛ t + --- ⎞ – Au 0 ⎛ t – --- ⎞ = A u 0 ⎛ t + --- ⎞ – u 0 ⎛ t – --- ⎞ (1.14)
⎝ 2 ⎠ ⎝ 2 ⎠ ⎝ 2 ⎠ ⎝ 2 ⎠
Example 1.4
Express the symmetric triangular waveform of Figure 1.12 as a sum of unit step functions.
v(t)
1
t
–T ⁄ 2 0 T⁄2
Figure 1.12. Symmetric triangular waveform for Example 1.4
Solution:
1−6 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Unit Step Function
We first derive the equations for the linear segments { and | shown in Figure 1.13.
2 v( t) 2
--- t + 1 1 – --- t + 1
T T
{ |
t
–T ⁄ 2 0 T⁄2
Figure 1.13. Equations for the linear segments of Figure 1.12
2 T
v 1 ( t ) = ⎛ --- t + 1⎞ u 0 ⎛ t + --- ⎞ – u 0 ( t ) (1.15)
⎝T ⎠ ⎝ 2⎠
v 2 ( t ) = ⎛ – --2- t + 1⎞ u 0 ( t ) – u 0 ⎛ t – T
--- ⎞ (1.16)
⎝ T ⎠ ⎝ 2⎠
Example 1.5
Express the waveform of Figure 1.14 as a sum of unit step functions.
v( t)
3
t
0 1 2 3
Figure 1.14. Waveform for Example 1.5
Solution:
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−7
Copyright © Orchard Publications
Chapter 1 Elementary Signals
As in the previous example, we first find the equations of the linear segments linear segments {
and | shown in Figure 1.15.
v(t)
3
{
2
2t + 1
1 –t+3
|
t
0 1 2 3
Figure 1.15. Equations for the linear segments of Figure 1.14
Following the same procedure as in the previous examples, we obtain
v ( t ) = ( 2t + 1 ) [ u 0 ( t ) – u 0 ( t – 1 ) ] + 3 [ u 0 ( t – 1 ) – u 0 ( t – 2 ) ]
+ ( – t + 3 ) [ u0 ( t – 2 ) – u0 ( t – 3 ) ]
v ( t ) = ( 2t + 1 )u 0 ( t ) + [ – ( 2t + 1 ) + 3 ]u 0 ( t – 1 )
+ [ – 3 + ( – t + 3 ) ]u 0 ( t – 2 ) – ( – t + 3 )u 0 ( t – 3 )
Two other functions of interest are the unit ramp function, and the unit impulse or delta function.
We will introduce them with the examples that follow.
Example 1.6
In the network of Figure 1.16 i S is a constant current source and the switch is closed at time
t = 0 . Express the capacitor voltage v C ( t ) as a function of the unit step.
1−8 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Unit Step Function
R t = 0
+
vC ( t )
−
iS C
iC ( t ) = iS u0 ( t ) (1.20)
iS 0
1 t ----
∫–∞ u0 ( τ ) dτ iS t
v C ( t ) = ----
C ∫– ∞ i S u 0 ( τ ) dτ = C + ----
C ∫ 0 u 0 ( τ ) dτ (1.21)
⎧
⎪
⎪
⎨
⎪
⎪
⎩
0
or
iS
v C ( t ) = ----- tu 0 ( t ) (1.22)
C
Therefore, we see that when a capacitor is charged with a constant current, the voltage across it is
a linear function and forms a ramp with slope i S ⁄ C as shown in Figure 1.17.
vC ( t )
slope = i S ⁄ C
t
0
Figure 1.17. Voltage across a capacitor when charged with a constant current source
* Since the initial condition for the capacitor voltage was not specified, we express this integral with – ∞ at the lower limit of
integration so that any non-zero value prior to t < 0 would be included in the integration.
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−9
Copyright © Orchard Publications
Chapter 1 Elementary Signals
t
τ
Figure 1.18. Area under the unit step function from – ∞ to t
Therefore, we define u 1 ( t ) as
⎧0 t<0
u1 ( t ) = ⎨ (1.24)
⎩t t≥0
d
----- u 1 ( t ) = u 0 ( t ) (1.25)
dt
Higher order functions of t can be generated by repeated integration of the unit step function. For
example, integrating u 0 ( t ) twice and multiplying by 2 , we define u 2 ( t ) as
⎧0 t<0 t
u2 ( t ) = ⎨ 2
⎩t t≥0
or u2 ( t ) = 2 ∫–∞ u1 ( τ ) dτ (1.26)
Similarly,
⎧0 t<0 t
u3 ( t ) = ⎨ 3
⎩t t≥0
or u3 ( t ) = 3 ∫–∞ u2 ( τ ) dτ (1.27)
and in general,
⎧0 t<0 t
un ( t ) = ⎨ n
⎩t t≥0
or un ( t ) = n ∫– ∞ u n – 1 ( τ ) d τ (1.28)
Also,
1−10 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Delta Function
1d
u n – 1 ( t ) = --- ----- u n ( t ) (1.29)
n dt
Example 1.7
In the network of Figure 1.19, the switch is closed at time t = 0 and i L ( t ) = 0 for t < 0 . Express
the inductor voltage v L ( t ) in terms of the unit step function.
R t = 0
+
iL ( t ) vL ( t )
iS L −
∫– ∞ δ ( τ ) d τ = u0 ( t ) (1.33)
and
δ ( t ) = 0 for all t ≠ 0 (1.34)
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−11
Copyright © Orchard Publications
Chapter 1 Elementary Signals
To better understand the delta function δ ( t ) , let us represent the unit step u 0 ( t ) as shown in Fig-
ure 1.20 (a).
1
Figure (a)
0
−ε ε
t
1
Area =1 2ε Figure (b)
0
−ε ε t
The function of Figure 1.20 (a) becomes the unit step as ε → 0 . Figure 1.20 (b) is the derivative of
Figure 1.20 (a), where we see that as ε → 0 , 1 ⁄ 2 ε becomes unbounded, but the area of the rect-
angle remains 1 . Therefore, in the limit, we can think of δ ( t ) as approaching a very large spike or
impulse at the origin, with unbounded amplitude, zero width, and area equal to 1 .
Two useful properties of the delta function are the sampling property and the sifting property.
f ( t )δ ( t – a ) = f ( a )δ ( t ) (1.35)
or, when a = 0 ,
f ( t )δ ( t ) = f ( 0 )δ ( t ) (1.36)
that is, multiplication of any function f ( t ) by the delta function δ ( t ) results in sampling the func-
tion at the time instants where the delta function is not zero. The study of discrete−time systems is
based on this property.
Proof:
Since δ ( t ) = 0 for t < 0 and t > 0 then,
f ( t )δ ( t ) = 0 for t < 0 and t > 0 (1.37)
We rewrite f ( t ) as
f(t) = f(0) + [f(t) – f(0)] (1.38)
Integrating (1.37) over the interval – ∞ to t and using (1.38), we obtain
1−12 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
The Delta Function
t t t
∫– ∞ f ( τ )δ ( τ ) dτ = ∫– ∞ f ( 0 )δ ( τ ) dτ + ∫–∞ [ f ( τ ) – f ( 0 ) ]δ ( τ ) dτ (1.39)
The first integral on the right side of (1.39) contains the constant term f ( 0 ) ; this can be written
outside the integral, that is,
t t
∫– ∞ f ( 0 )δ ( τ ) dτ = f ( 0 ) ∫– ∞ δ ( τ ) d τ (1.40)
The second integral of the right side of (1.39) is always zero because
δ ( t ) = 0 for t < 0 and t > 0
and
[f(τ ) – f(0 )] τ=0
= f(0 ) – f(0) = 0
Therefore, (1.39) reduces to
t t
∫– ∞ f ( τ )δ ( τ ) dτ = f ( 0 ) ∫– ∞ δ ( τ ) d τ (1.41)
f ( t )δ ( t ) = f ( 0 )δ ( t )
(1.42)
Sampling Property of δ ( t )
that is, if we multiply any function f ( t ) by δ ( t – α ) , and integrate from – ∞ to +∞ , we will obtain
the value of f ( t ) evaluated at t = α .
Proof:
Let us consider the integral
b
We will use integration by parts to evaluate this integral. We recall from the derivative of prod-
ucts that
d ( xy ) = xdy + ydx or xdy = d ( xy ) – ydx (1.45)
and integrating both sides we obtain
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−13
Copyright © Orchard Publications
Chapter 1 Elementary Signals
∫ x dy = xy – y dx ∫ (1.46)
∫a ∫a u0 ( t – α )f ′( t ) dt
b
f ( t )δ ( t – α ) dt = f ( t )u 0 ( t – α ) – (1.47)
a
We have assumed that a < α < b ; therefore, u 0 ( t – α ) = 0 for α < a , and thus the first term of the
right side of (1.47) reduces to f ( b ) . Also, the integral on the right side is zero for α < a , and there-
fore, we can replace the lower limit of integration a by α . We can now rewrite (1.47) as
b b
∫a f ( t )δ ( t – α ) dt = f ( b ) – ∫α f ′ ( t ) d t = f(b) – f( b) + f(α )
∫–∞ f ( t )δ ( t – α ) dt = f ( α ) (1.48)
Sifting Property of δ ( t )
n
n δ
δ ( t ) = ----- [ u 0 ( t ) ] (1.49)
dt
The function δ' ( t ) is called doublet, δ'' ( t ) is called triplet, and so on. By a procedure similar to the
derivation of the sampling property of the delta function, we can show that
Also, the derivation of the sifting property of the delta function can be extended to show that
∞ n
nd
∫
n
f ( t )δ ( t – α ) dt = ( – 1 ) -------n- [ f ( t ) ] (1.51)
–∞ dt t=α
1−14 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Higher Order Delta Functions
Example 1.8
Evaluate the following expressions:
∞
∫–∞ tδ ( t – 2 ) dt
4 2
a. 3t δ ( t – 1 ) b. c. t δ' ( t – 3 )
Solution:
4
a. The sampling property states that f ( t )δ ( t – a ) = f ( a )δ ( t ) For this example, f ( t ) = 3t and
a = 1 . Then,
4 4
3t δ ( t – 1 ) = { 3t t=1
}δ ( t – 1 ) = 3δ ( t )
∞
b. The sifting property states that ∫–∞ f ( t )δ ( t – α ) dt = f ( α ) . For this example, f ( t ) = t and
α = 2 . Then,
∞
∫–∞ tδ ( t – 2 ) dt = f ( 2 ) = t t = 2 = 2
c. The given expression contains the doublet; therefore, we use the relation
f ( t )δ' ( t – a ) = f ( a )δ' ( t – a ) – f ' ( a )δ ( t – a )
Then, for this example,
2 2 d 2
t δ' ( t – 3 ) = t t=3
δ' ( t – 3 ) – ----- t t=3
δ ( t – 3 ) = 9δ' ( t – 3 ) – 6δ ( t – 3 )
dt
Example 1.9
a. Express the voltage waveform v ( t ) shown in Figure 1.21 as a sum of unit step functions for the
time interval – 1 < t < 7 s .
b. Using the result of part (a), compute the derivative of v ( t ) and sketch its waveform.
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−15
Copyright © Orchard Publications
Chapter 1 Elementary Signals
v(t) (V)
1
−1 1 2 3 4 5 6 7
0
t (s)
−1
−2
Figure 1.21. Waveform for Example 1.9
Solution:
a. We begin with the derivation of the equations for the linear segments of the given waveform as
shown in Figure 1.22.
–t+5
3
2 –t+6
1
−1 1 2 3 4 5 6 7
0
t (s)
−1
2t
−2
Figure 1.22. Equations for the linear segments of Figure 1.21
v ( t ) = 2t [ u 0 ( t + 1 ) – u 0 ( t – 1 ) ] + 2 [ u 0 ( t – 1 ) – u 0 ( t – 2 ) ]
+ ( – t + 5 ) [ u0 ( t – 2 ) – u0 ( t – 4 ) ] + [ u0 ( t – 4 ) – u0 ( t – 5 ) ] (1.52)
+ ( – t + 6 ) [ u0 ( t – 5 ) – u0 ( t – 7 ) ]
1−16 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Higher Order Delta Functions
v ( t ) = 2tu 0 ( t + 1 ) – 2tu 0 ( t – 1 ) – 2u 0 ( t – 1 ) – 2u 0 ( t – 2 ) – tu 0 ( t – 2 )
+ 5u 0 ( t – 2 ) + tu 0 ( t – 4 ) – 5u 0 ( t – 4 ) + u 0 ( t – 4 ) – u 0 ( t – 5 )
– tu 0 ( t – 5 ) + 6u 0 ( t – 5 ) + tu 0 ( t – 7 ) – 6u 0 ( t – 7 )
or
v ( t ) = 2tu 0 ( t + 1 ) + ( – 2t + 2 )u 0 ( t – 1 ) + ( – t + 3 )u 0 ( t – 2 )
+ ( t – 4 )u 0 ( t – 4 ) + ( – t + 5 )u 0 ( t – 5 ) + ( t – 6 )u 0 ( t – 7 )
b. The derivative of v ( t ) is
dv
------ = 2u 0 ( t + 1 ) + 2tδ ( t + 1 ) – 2u 0 ( t – 1 ) + ( – 2t + 2 )δ ( t – 1 )
dt
– u 0 ( t – 2 ) + ( – t + 3 )δ ( t – 2 ) + u 0 ( t – 4 ) + ( t – 4 )δ ( t – 4 ) (1.53)
– u 0 ( t – 5 ) + ( – t + 5 )δ ( t – 5 ) + u 0 ( t – 7 ) + ( t – 6 )δ ( t – 7 )
From the given waveform, we observe that discontinuities occur only at t = – 1 , t = 2 , and
t = 7 . Therefore, δ ( t – 1 ) = 0 , δ ( t – 4 ) = 0 , and δ ( t – 5 ) = 0 , and the terms that contain
these delta functions vanish. Also, by application of the sampling property,
2tδ ( t + 1 ) = { 2t t = –1
}δ ( t + 1 ) = – 2δ ( t + 1 )
( – t + 3 )δ ( t – 2 ) = { ( – t + 3 ) t=2
}δ ( t – 2 ) = δ ( t – 2 )
( t – 6 )δ ( t – 7 ) = { ( t – 6 ) t=7
}δ ( t – 7 ) = δ ( t – 7 )
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−17
Copyright © Orchard Publications
Chapter 1 Elementary Signals
dv (V ⁄ s)
------
dt
2
δ(t – 2) δ(t – 7)
1
−1 0 1 2 3 4 5 6 7
t (s)
−1
– 2δ ( t + 1 )
Figure 1.23. Plot of the derivative of the waveform of Figure 1.21
We observe that a negative spike of magnitude 2 occurs at t = – 1 , and two positive spikes of
magnitude 1 occur at t = 2 , and t = 7 . These spikes occur because of the discontinuities at
these points.
It would be interesting to observe the given signal and its derivative on the Scope block of the
Simulink®* model of Figure 1.24. They are shown in Figure 1.25.
* A brief introduction to Simulink is presented in Appendix B. For a detailed procedure for generating piece-wise
linear functions with Simulink’s Signal Builder block, please refer to Introduction to Simulink with Engineering
Applications, ISBN 0−9744239−7−1
1−18 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Higher Order Delta Functions
Figure 1.25. Piece−wise linear waveform for the Signal Builder block in Figure 1.24
The waveform in Figure 1.25 is created with the following procedure:
1. We open a new model by clicking on the new model icon shown as a blank page on the left cor-
ner of the top menu bar. Initially, the name Untitled appears on the top of this new model. We
save it with the name Figure_1.25 and Simulink appends the .mdl extension to it.
2. From the Sources library, we drag the Signal Builder block into this new model. We also drag
the Derivative block from the Continuous library, the Bus Creator block from the Com-
monly Used Blocks library, and the Scope block into this model, and we interconnect these
blocks as shown in Figure 1.24.
3. We double−click on the Signal Builder block in Figure 1.24, and on the plot which appears as a
square pulse, we click on the y−axis and we enter Minimum: −2.5, and Maximum: 3.5. Like-
wise we right−click anywhere on the plot and we specify the Change Time Range at Min time:
−2, and Max time: 8.
4. To select a particular point, we position the mouse cursor over that point and we left−click. A
circle is drawn around that point to indicate that it is selected.
5. To select a line segment, we left−click on that segment. That line segment is now shown as a
thick line indicating that it is selected. To deselect it, we press the Esc key.
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−19
Copyright © Orchard Publications
Chapter 1 Elementary Signals
6. To drag a line segment to a new position, we place the mouse cursor over that line segment and
the cursor shape shows the position in which we can drag the segment.
7. To drag a point along the y−axis, we move the mouse cursor over that point, and the cursor
changes to a circle indicating that we can drag that point. Then, we can move that point in a
direction parallel to the x−axis.
8. To drag a point along the x−axis, we select that point, and we hold down the Shift key while
dragging that point.
9. When we select a line segment on the time axis (x−axis) we observe that at the lower end of
the waveform display window the Left Point and Right Point fields become visible. We can
then reshape the given waveform by specifying the Time (T) and Amplitude (Y) points.
The two positive spikes that occur at t = 2 , and t = 7 , are clearly shown in Figure 1.26.
MATLAB* has built-in functions for the unit step, and the delta functions. These are denoted by
the names of the mathematicians who used them in their work. The unit step function u 0 ( t ) is
referred to as Heaviside(t), and the delta function δ ( t ) is referred to as Dirac(t). Their use is illus-
trated with the examples below.
syms k a t; % Define symbolic variables
u=k*sym('Heaviside(t−a)') % Create unit step function at t = a
u =
k*Heaviside(t-a)
d=diff(u) % Compute the derivative of the unit step function
d =
k*Dirac(t-a)
1−20 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Higher Order Delta Functions
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−21
Copyright © Orchard Publications
Chapter 1 Elementary Signals
1.6 Summary
• The unit step function u 0 ( t ) is defined as
⎧0 t<0
u0 ( t ) = ⎨
⎩1 t>0
• The unit step function offers a convenient method of describing the sudden application of a
voltage or current source.
• The unit ramp function, denoted as u 1 ( t ) , is defined as
t
u1 ( t ) = ∫– ∞ u 0 ( τ ) d τ
• The unit impulse or delta function, denoted as δ ( t ) , is the derivative of the unit step u 0 ( t ) . It is
also defined as
t
∫–∞ δ ( τ ) dτ = u0 ( t )
and
δ ( t ) = 0 for all t ≠ 0
• The sampling property of the delta function states that
f ( t )δ ( t – a ) = f ( a )δ ( t )
or, when a = 0 ,
f ( t )δ ( t ) = f ( 0 )δ ( t )
• The sifting property of the delta function states that
∞
∫–∞ f ( t )δ ( t – α ) dt = f(α)
1−22 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Exercises
1.7 Exercises
1. Evaluate the following functions:
a. sin tδ ⎛⎝ t – π
---⎞ b. cos 2tδ ⎛⎝ t – π
---⎞ c. cos t δ ⎛⎝ t – π
---⎞
2
6⎠ ⎠ 4 2⎠
∞
d. tan 2tδ ⎛⎝ t – π f. sin t δ 1 ⎛⎝ t – π
2 –t
---⎞ ---⎞
2
8⎠
e. ∫– ∞ t e δ ( t – 2 ) dt
2⎠
2.
a. Express the voltage waveform v ( t ) shown below as a sum of unit step functions for the time
interval 0 < t < 7 s .
20
– 2t
e
10
0
1 2 3 4 5 6 7 t(s)
−10
−20
b. Using the result of part (a), compute the derivative of v ( t ) , and sketch its waveform. This
waveform cannot be used with Sinulink’s Function Builder block because it contains the
decaying exponential segment which is a non−linear function.
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−23
Copyright © Orchard Publications
Chapter 1 Elementary Signals
1−24 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Solutions to End−of−Chapter Exercises
1. We apply the sampling property of the δ ( t ) function for all expressions except (e) where we
apply the sifting property. For part (f) we apply the sampling property of the doublet.
We recall that the sampling property states that f ( t )δ ( t – a ) = f ( a )δ ( t ) . Thus,
π
a. sin tδ ⎛⎝ t – π
---⎞ = sin t δ ( t ) = sin --- δ ( t ) = 0.5δ ( t )
6⎠ t = π⁄6 6
π
b. cos 2tδ ⎛⎝ t – π
---⎞ = cos 2t
⎠ t = π⁄4
δ ( t ) = cos --- δ ( t ) = 0
4 2
c. cos t δ ⎛⎝ t – π
1 1 1
---⎞ = --- ( 1 + cos 2t )
2
δ ( t ) = --- ( 1 + cos π )δ ( t ) = --- ( 1 – 1 )δ ( t ) = 0
2⎠ 2 t =π⁄2
2 2
π
d. tan 2tδ ⎛⎝ t – π
---⎞ = tan 2t
⎠ t = π⁄8
δ ( t ) = tan --- δ ( t ) = δ ( t )
8 4
∞
We recall that the sampling property states that ∫–∞ f ( t )δ ( t – α ) dt = f ( α ) . Thus,
∞
2 –t 2 –t –2
e. ∫– ∞ t e δ ( t – 2 ) dt = t e t=2
= 4e = 0.54
f. We recall that the sampling property for the doublet states that
f ( t )δ' ( t – a ) = f ( a )δ' ( t – a ) – f ' ( a )δ ( t – a )
Thus,
π π d π
sin t δ' ⎛ t – --- ⎞ = sin t δ' ⎛ t – --- ⎞ – ----- sin t δ ⎛ t – --- ⎞
2 2 2
⎝ 2⎠ t = π⁄2 ⎝ 2 ⎠ dt t = π⁄2 ⎝ 2⎠
1 π π
= --- ( 1 – cos 2t ) δ' ⎛ t – --- ⎞ – sin 2t δ ⎛ t – --- ⎞
2 t = π⁄2 ⎝ 2⎠ t=π⁄2 ⎝ 2⎠
1 π π π
= --- ( 1 + 1 )δ' ⎛ t – --- ⎞ – sin πδ ⎛ t – --- ⎞ = δ' ⎛ t – --- ⎞
2 ⎝ 2⎠ ⎝ 2⎠ ⎝ 2⎠
2.
– 2t
v( t) = e [ u 0 ( t ) – u 0 ( t – 2 ) ] + ( 10t – 30 ) [ u 0 ( t – 2 ) – u 0 ( t – 3 ) ]
a.
+ ( – 10 t + 50 ) [ u 0 ( t – 3 ) – u 0 ( t – 5 ) ] + ( 10t – 70 ) [ u 0 ( t – 5 ) – u 0 ( t – 7 ) ]
– 2t – 2t
v(t) = e u0 ( t ) – e u 0 ( t – 2 ) + 10tu 0 ( t – 2 ) – 30u 0 ( t – 2 ) – 10tu 0 ( t – 3 ) + 30u 0 ( t – 3 )
– 10tu 0 ( t – 3 ) + 50u 0 ( t – 3 ) + 10tu 0 ( t – 5 ) – 50u 0 ( t – 5 ) + 10tu 0 ( t – 5 )
– 70u 0 ( t – 5 ) – 10tu 0 ( t – 7 ) + 70u 0 ( t – 7 )
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 1−25
Copyright © Orchard Publications
Chapter 1 Elementary Signals
– 2t – 2t
v(t) = e u0 ( t ) + ( –e + 10t – 30 )u 0 ( t – 2 ) + ( – 20t + 80 )u 0 ( t – 3 ) + ( 20t – 120 )u 0 ( t – 5 )
+ ( – 10t + 70 )u 0 ( t – 7 )
b.
dv – 2t – 2t – 2t – 2t
------ = – 2e u 0 ( t ) + e δ ( t ) + ( 2e + 10 )u 0 ( t – 2 ) + ( – e + 10t – 30 )δ ( t – 2 )
dt
– 20u 0 ( t – 3 ) + ( – 20t + 80 )δ ( t – 3 ) + 20u 0 ( t – 5 ) + ( 20t – 120 )δ ( t – 5 ) (1)
– 10u 0 ( t – 7 ) + ( – 10t + 70 )δ ( t – 7 )
1 2 3 4 5 6 7 t (s)
– 10
– 10δ ( t – 2 )
– 20
– 2t – 20 δ ( t – 5 )
– 2e
1−26 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Chapter 2
The Laplace Transformation
T
his chapter begins with an introduction to the Laplace transformation, definitions, and
properties of the Laplace transformation. The initial value and final value theorems are also
discussed and proved. It continues with the derivation of the Laplace transform of common
functions of time, and concludes with the derivation of the Laplace transforms of common wave-
forms.
σ + jω
–1 1
∫σ – jω
st
L { F ( s ) } = f ( t ) = -------- F ( s ) e ds (2.2)
2πj
–1
where L { f ( t ) } denotes the Laplace transform of the time function f ( t ) , L { F ( s ) } denotes the
Inverse Laplace transform, and s is a complex variable whose real part is σ , and imaginary part
ω , that is, s = σ + jω .
In most problems, we are concerned with values of time t greater than some reference time, say
t = t 0 = 0 , and since the initial conditions are generally known, the two−sided Laplace trans-
form pair of (2.1) and (2.2) simplifies to the unilateral or one−sided Laplace transform defined as
∞ ∞
– st – st
L {f(t)}= F(s) = ∫t 0
f(t)e dt = ∫0 f ( t ) e dt (2.3)
–1 1 σ + jω
∫
st
L { F ( s ) } = f ( t ) = -------- F ( s ) e ds (2.4)
2πj σ – jω
The Laplace Transform of (2.3) has meaning only if the integral converges (reaches a limit), that
is, if
∞
– st
∫0 f ( t ) e dt < ∞ (2.5)
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 2−1
Copyright © Orchard Publications
Chapter 2 The Laplace Transformation
To determine the conditions that will ensure us that the integral of (2.3) converges, we rewrite
(2.5) as
∞
– σt – jωt
∫0 f ( t )e e dt < ∞ (2.6)
– jωt – jωt
The term e in the integral of (2.6) has magnitude of unity, i.e., e = 1 , and thus the con-
dition for convergence becomes
∞
– σt
∫0 f ( t )e dt < ∞ (2.7)
Fortunately, in most engineering applications the functions f ( t ) are of exponential order*. Then,
we can express (2.7) as,
∞ ∞ σ 0 t – σt
– σt
∫0 f ( t )e dt < ∫0 ke e dt (2.8)
and we see that the integral on the right side of the inequality sign in (2.8), converges if σ > σ 0 .
Therefore, we conclude that if f ( t ) is of exponential order, L { f ( t ) } exists if
Re { s } = σ > σ 0 (2.9)
σ0 t
* A function f ( t ) is said to be of exponential order if f ( t ) < ke for all t ≥ 0 .
2−2 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Properties and Theorems of the Laplace Transform
c1 f1 ( t ) + c2 f2 ( t ) + … + cn fn ( t ) ⇔ c1 F1 ( s ) + c2 F2 ( s ) + … + cn Fn ( s ) (2.11)
Proof:
∞
L { c1 f1 ( t ) + c2 f2 ( t ) + … + cn fn ( t ) } = ∫t 0
[ c 1 f 1 ( t ) + c 2 f 2 ( t ) + … + c n f n ( t ) ] dt
∞ ∞ ∞
– st – st – st
= c1 ∫t 0
f1 ( t ) e dt + c 2 ∫t 0
f2 ( t ) e dt + … + c n ∫t 0
fn ( t ) e dt
= c1 F1 ( s ) + c2 F2 ( s ) + … + cn Fn ( s )
Note 1:
It is desirable to multiply f ( t ) by the unit step function u 0 ( t ) to eliminate any unwanted non−
zero values of f ( t ) for t < 0 .
– as
f ( t – a )u 0 ( t – a ) ⇔ e F(s) (2.12)
Proof:
a ∞
– st – st
L { f ( t – a )u 0 ( t – a ) } = ∫0 0e dt + ∫ a f( t – a )e dt (2.13)
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 2−3
Copyright © Orchard Publications
Chapter 2 The Laplace Transformation
Note 2:
A change of scale is represented by multiplication of the time variable t by a positive scaling fac-
tor a . Thus, the function f ( t ) after scaling the time axis, becomes f ( at ) .
1 s
f ( at ) ⇔ --- F ⎛ -- ⎞ (2.15)
a ⎝a ⎠
Proof:
∞
– st
L { f ( at ) } = ∫0 f ( at ) e dt
2−4 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Properties and Theorems of the Laplace Transform
d −
f ' ( t ) = ----- f ( t ) ⇔ sF ( s ) – f ( 0 ) (2.16)
dt
Proof:
∞
– st
L {f '(t)} = ∫0 f ' ( t ) e dt
∫ v du = uv – u dv ∫ (2.17)
– st – st
we let du = f ' ( t ) and v = e . Then, u = f ( t ) , dv = – se , and thus
∞
– st ∞ – st – st a
L { f ' ( t ) } = f ( t )e
0
−
+s ∫0 −
f(t )e dt = lim
a→∞
f ( t )e
0
−
+ sF ( s )
– sa − −
= lim [ e f ( a ) – f ( 0 ) ] + sF ( s ) = 0 – f ( 0 ) + sF ( s )
a→∞
d2
-------- f ( t ) ⇔ s 2 F ( s ) – sf ( 0 − ) – f ' ( 0 − ) (2.18)
2
dt
d3
-------- f ( t ) ⇔ s 3 F ( s ) – s 2 f ( 0 − ) – sf ' ( 0 − ) – f '' ( 0 − ) (2.19)
3
dt
and in general
n
d
-------- f ( t ) ⇔ s n F ( s ) – s n – 1 f ( 0 − ) – s n – 2 f ' ( 0 − ) – … – f n–1
(0 )
−
(2.20)
n
dt
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 2−5
Copyright © Orchard Publications
Chapter 2 The Laplace Transformation
We must remember that the terms f ( 0 − ), f ' ( 0 − ), f '' ( 0 − ) , and so on, represent the initial condi-
tions. Therefore, when all initial conditions are zero, and we differentiate a time function f ( t ) n
times, this corresponds to F ( s ) multiplied by s to the nth power.
d
tf ( t ) ⇔ – ----- F ( s ) (2.21)
ds
Proof:
∞
– st
L { f( t)} = F(s) = ∫0 f ( t ) e dt
Differentiating with respect to s and applying Leibnitz’s rule* for differentiation under the integral,
we obtain
∞ ∞ ∞ ∞
d d – st ∂ –st – st – st
----- F ( s ) = -----
ds ds ∫0 f( t)e dt = ∫0 ∂s
e f ( t )dt = ∫0 –t e f ( t )dt = – ∫0 [ tf ( t ) ] e dt = – L [ tf ( t ) ]
In general,
n
n nd
t f ( t ) ⇔ ( – 1 ) -------n- F ( s ) (2.22)
ds
The proof for n ≥ 2 follows by taking the second and higher−order derivatives of F ( s ) with
respect to s .
b
* This rule states that if a function of a parameter α is defined by the equation F ( α ) = ∫a f ( x, α ) dx where f is some known
function of integration x and the parameter α , a and b are constants independent of x and α , and the partial derivative
b
dF- ∂( x, α )
∂f ⁄ ∂α exists and it is continuous, then ------
dα
= ∫a ----------------
∂( α )
- dx .
2−6 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Properties and Theorems of the Laplace Transform
t −
F(s) f (0 )
∫ –∞
f ( τ ) dτ ⇔ ---------- + -------------
s s
(2.23)
Proof:
We begin by expressing the integral on the left side of (2.23) as two integrals, that is,
t 0 t
∫– ∞ f ( τ ) dτ = ∫– ∞ f ( τ ) dτ + ∫ 0 f ( τ ) dτ (2.24)
The first integral on the right side of (2.24), represents a constant value since neither the upper,
nor the lower limits of integration are functions of time, and this constant is an initial condition
denoted as f ( 0 − ) . We will find the Laplace transform of this constant, the transform of the sec-
ond integral on the right side of (2.24), and will prove (2.23) by the linearity property. Thus,
∞ ∞ – st ∞
– st – st e
∫0 f ( 0 ) e ∫0 e
− − − −
L {f (0 )} = dt = f ( 0 ) dt = f ( 0 ) --------
–s 0 (2.25)
− −
f(0 ) f(0 )
= f ( 0 ) × 0 – ⎛ – -------------⎞ = ------------
−
⎝ s ⎠ s
This is the value of the first integral in (2.24). Next, we will show that
t
F(s)
∫0 f ( τ ) dτ ⇔ ----------
s
We let
t
g(t) = ∫0 f ( τ ) dτ
then,
g' ( t ) = f ( τ )
and
0
g( 0) = ∫0 f ( τ ) dτ = 0
Now,
−
L { g' ( t ) } = G ( s ) = sL { g ( t ) } – g ( 0 ) = G ( s ) – 0
sL { g ( t ) } = G ( s )
G(s)
L { g ( t ) } = -----------
s
Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition 2−7
Copyright © Orchard Publications
Chapter 2 The Laplace Transformation
⎧ t ⎫ F(s)
L ⎨
⎩
∫ 0
f ( τ ) dτ ⎬ = ----------
⎭ s
(2.26)
∞
f( t)
-------- ⇔
t ∫s F ( s ) ds (2.27)
Proof:
∞
– st
F(s) = ∫0 f ( t ) e dt
and performing the inner integration on the right side integral with respect to s , we obtain
∞ ∞ ∞ ∞ ⎧ f ( t )⎫
1 –st f(t) – st
∫s F ( s ) ds = ∫0 – --- e
t s
f ( t ) dt = ∫0 --------
t
e dt = L ⎨ --------⎬
⎩ t ⎭
2−8 Signals and Systems with MATLAB ® Computing and Simulink ® Modeling, Third Edition
Copyright © Orchard Publications
Exploring the Variety of Random
Documents with Different Content
“Well, boys,” said Uncle Henry, “it’s no use for us to get into a fight
with that mob. I’m too old now, and you are too young.”
“Uncle Henry,” spoke up Rob, “How much nearer is it to Necedah by
the woods trail than by the prairie road?”
“A matter of four miles,” replied Mr. Thompson; “but there is no
crossing at Little Yellow.”
“But I can swim it, even if the water is cold. Four from sixteen miles
leaves but twelve, and I believe I can make it with the ‘long trot’ in
two hours. We’ve just got to get Mr. Fitts here. Those logs that Larry
Phelan is rolling into the river are his.”
“Good, lad! I believe you can do it. The roads are something fearful,
but if old man Fitts learns that Larry Phelan is stealing his timber,
he’ll drive his buckskins here if he has to swim ’em through the mud
half way and run ’em over stumps the other half.”
There remained yet two hours of daylight as Rob swung into the
forest trail on the long trot his Indian friend Kalichigoogah had
taught him. Little Yellow was reached, and in spite of the numbing
cold of the water, was safely crossed, the lad swimming with one
hand, while he held the bundle of his clothes high and dry in the
other. Then on he sped in the long race of eight more miles.
The sun had been down for half an hour when the gruff old
lumberman opened his door at Rob’s knock. “Well, an’ what do ye
want? We don’t feed tramps here. What! What’s that ye say! My logs
—an’ ’tis that blackguard gambler Larry Phelan puttin’ his brand on
’em and bankin’ ’em!” And, to tell the truth, the language of the old
man was as explosive as had been that of Larry himself.
“Jim, put the buckskins to the light ‘democrat.’ But lad, you’re
hungry an’ tired. Come in, come in an’ have a snack. Ran it in two-
thirty, did ye? An’ swam the river! Well, well! But we’ll tend to the
rascal this night.”
However, as the old man cooled down, the needlessness of a night
ride over the waste of ruined roads and flood-piled debris convinced
him of the wisdom of waiting until the light of day to make the
journey. By the time the birds were fairly awake, Mr. Fitts and Rob
were well upon their way, and Rob had broached the matter of
securing the job of hauling the logs into the river. The old man
turned his keen eyes upon the boy. “An’ what would ye do with all
the money if ye got the job? College! What for would a likely lad
with good sense and good arms fool away his time in college?
Humph! Well, we’ll see.”
Phelan and his men and teams had not been idle: all night long they
had worked, and fully two hundred of the five hundred or more stray
logs were already piled in the river, bearing the changed marks,
ready to go down to the Necedah boom with the next rise.
Old man Fitts charged the swamping outfit like an enraged bull. “So
yer at yer old tricks, are ye, Larry? I’ve been wantin’ to ketch ye for
a long time. An’ now I’ve got the witnesses on ye.”
Phelan started in to bluster and curse, but evidently the presence of
Fitts was something he had not calculated upon, nor the fact that
Henry and Sam Thompson, who now arose from where they had
been in hiding, were witnesses to the felonious changing of the log
marks.
Larry changed his mood. “Perhaps the men may have made a
mistake in the dark, Misther Fitts. If they’re yer logs ye can pay us
what is raysonable fer bankin’ av thim, and we’ll jist call it square.”
“No, we won’t, ye thief!” roared the old man. “Those logs in the river
are your logs now, do ye understand? They’ve got yer mark on ’em,
every one, an’ they’ll be put into your chute at the boom. An’ they’ve
cost ye just fifteen dollars the thousand, board measure. Do ye
understand? We’ll lump ’em at twelve hundred dollars, an’ ye’ll write
the check fer that just now. I can trust ye not to stop payment on
that check.”
Counter threat and curses; calling the old man a robber (for Fitts
had made a gilt edge price on his logs), were of no avail. Larry
Phelan, at the end of many evil deeds, faced an open prison door,
and he knew it. After all, the twelve hundred dollars would not be all
loss—and the check was written.
“Well, now, boys,” said Mr. Fitts, when the men and teams had
departed, “what about the balance of these logs?—three hundred, I
should say. How would a dollar apiece do? Yes, that’s fair. Ye can
worry them all in by fall. An’ young man,” said he, turning to Rob
with a queer smile, “You can count the hauling of the two hundred
already in the river, as your share, for that college nonsense. I
tacked that much onto that thief, Larry Phelan. I reckon college
won’t utterly ruin a lad who can run twelve miles an’ swim an icy
river.”
CHAPTER XVII
THE TRAGEDY OF THE MOUNDS
Had you met him as he trudged along the dusty road on that day of
early September, you would have little suspected that you had come
into the presence of a hero; but the stuff of which heroes are made
is not carried in the way of outward observing, having its place
within. Records of the world’s great deeds give the place of honor
and fame to those who have taken cities and subdued peoples, but
the Book of books says that a greater hero than he who conquers a
city is he who rules his own spirit.
That he was one of the “greater heroes” Robert Allen was to make
proof.
Had your curiosity prompted you to question the lad, as you met
him, he would have told you that he was on his way to enter Carlton
College: and had there crept into your voice a note of friendliness,
enthusiasm would have kindled in his blue-gray eyes, and he would
have confided to you the great ambitions that had been crowding in
upon the fifteen years of his young life. As he recounted the
sacrifices that had been made in his humble home, and the purpose
and high courage for the years of struggle before him, you would
not have seen the poor clothes, the awkward, uncouth manner, but
would have given heed to the strong, clean, manly soul within.
Robert Allen found employment at the college by which, working half
his time, he could spend the other half with his books. That he was
the victim of hard circumstances, or that there was any sort of
injustice to him in the fact that he had to saw and carry up wood for
the wealthy boys, and do other menial labor, never entered his
thoughts. That his grand dreams were coming true, and he was
actually privileged to study in a college, and sometime would be able
to graduate, was too wonderful and precious to allow any other
sentiment than gratitude to have place in his heart.
While Rob was, for his age, a well-read boy and at home with many
of the great ones of literature, he found it difficult at first to bring his
mind to the habits of study required by a college course. The class
room was a place of especial torture; of the twenty-six students in
his class, more than half were young ladies, and when, after hours
spent upon amo, amas, amat, etc., Rob would arise to recite he
would feel the eyes of all those elegant girls fixed upon him and his
poor clothes. Then, the sheep before his shearer was no more dumb
than Rob before the Latin teacher.
After several trials and failures Rob sought the kind-hearted
professor and requested the privilege of reciting privately to him in
his room, telling him of his confusion and its cause. The professor,
with kindly tact and Christly love, soon had the boy at his ease, and
drew from him the story of his aspirations and purposes. Then,
instead of granting his request, he said, “Robert, you prepare your
lesson and come to the class room as usual, and when you are
called upon to recite, look into my eyes, and remember that you are
speaking to a friend who knows and understands.”
It was not long before the personal sympathy of the young professor
made itself felt in greater confidence, and the boy was able to hold
his place in the class.
In the winter term a revival meeting was held in the college church.
Rob had never become a Christian, though often he had wished he
might be. He had been well reared, morally, and his life knew
nothing of the grosser sins common to so many of our young men
and boys. Swearing, Sabbath-breaking, drinking, smoking, and card-
playing were evils of which he had no experimental knowledge; but
he knew that he was not a Christian; that he had not been born of
the Spirit. While his roommate, Tom Wright, made sport of the
preacher, and would bring in his set of rough boys for a “high time”
after the services, Rob was thoughtful and serious. One night
Professor Jackson, his Latin teacher, walked home with him from the
meeting and in an earnest, friendly way urged Rob to become a
Christian; adding the assurance that he was praying for him.
Rob thanked the professor and walked up to his room. One time, at
least, Satan helped, for Tom Wright and his fellows remained out
nearly all night upon a wild lark. Rob, his heart strangely stirred, felt
that he could not sleep, and at last flung himself at the side of his
bed crying, “O God, I want to be a Christian. I don’t know how, but
You know how to make me one, and I’ll never leave this bedside
until I am saved.”
Rob prayed on in his stumbling way until it seemed that he could do
no more, when all at once there came into his heart a beautiful
stillness. He felt as light as a feather, and as happy as a bird. He
could not stay in his room; and throwing open the door he ran down
the corridor to Professor Jackson’s room and awoke him with the
glorious tidings that his prayer had been answered and he was
saved.
Rob’s first real test came the following night at bedtime. When he
was ready for bed there were two or three of Tom Wright’s gang in
the room with him, and when Rob, with the courage of a genuine
hero, knelt by the bedside and began to thank God for His goodness,
and claim His promise for future help and guidance, the boys were,
for the moment, dumbfounded. Then they broke out into cursing
and reviling. They declared they would have no pious hypocrite
around there, even if they had to throw him down stairs.
Night after night the persecution kept up, whenever one of the
others would be in the room at bedtime. They would tie Rob to the
bedpost as he prayed; they drenched him with ice water; and,
harder than all to bear, they followed his praying with vile and
hideous blasphemy. But Rob had enlisted under the banner of Jesus
Christ, Who, when He was reviled, reviled not again, and Who
blessed when He was cursed; so the fierce trial but deepened his
real experience of grace. He became an active worker for his Master
among his college mates, and had the joy of seeing several
converted through his efforts.
Serious breaches of discipline had occurred in the dormitory some
two months after Robert’s conversion, and one Sunday night
Professor Jackson was deputized by the Faculty to stay in his room
during the church service and endeavor to get some clue to the
transgressors. After church had well begun, Tom Wright and his
crowd, who were all supposed to be at the service, got out an old
fiddle, and with some rough characters from the town, proceeded to
have a dance in the halls, all unconscious of the presence of the
professor in the adjoining room. The “fun” became furious, and one
of the boys undertook to act the character of “pious Bob Allen” for
the amusement of the strangers, the others using the name of
Robert as if he were really present.
As the other students began to return from the service, the uproar
subsided, and when Rob reached his room his roommate was
already there, apparently having just returned from church. The next
day, with a very grave face, Professor Jackson called Rob into his
room. Rob went in smilingly, but his smile faded quickly at the stern
look of his friend.
“Where were you last night, Robert? I want to give you a chance to
confess.”
“Why, I was at church. Where should I have been?”
“Do you mean to tell me that you know nothing of the disgraceful
occurance last night in the hall?”
“What occurance, sir? Indeed, I know nothing. I was at church.”
“Robert, Robert, I am so disappointed in you! I believed you to be a
manly young man, and a Christian. How could you so forget yourself
as to engage in such an affair, and then pretend that you were at
church! I was here in my room throughout, and heard your name
called again and again. Because of your previous perfect record, no
public punishment will be given you by the Faculty, but the other
boys will be severely dealt with.”
“Professor, I have told you the truth. Goodbye,” and Robert
staggered out to his own room, unable to fathom the depth of his
misery. His poverty and his life of toil isolated him from the most of
the students. How he longed for the quick understanding and
sympathy of his lost friend Dauphin. He had made comparatively few
acquaintances in college, and there had been but one, the young
Latin professor, whom his heart had really claimed for a friend. And
now that one was lost! That one despised him for a breaker of rules,
and a liar. O it was too much! The tempter came, as he always does
in the moment of our stress, and said, “Give it up. Give it all up. It’s
no use. Go back home.”
The battle was fierce, and not soon over. But victory came—came
through the stretched-out Hand that had brought him salvation. In
the darkness of his extremity, the thought came to him that there
was One who knew all, and, he knelt and poured out his soul to the
comforting Christ.
Not for a moment afterward did Rob relax his conscientious work
either in the class room or in such Christian duties as came his way.
His manner became graver, if possible, and a little shyer, but there
glowed upon the face of the lad a steady light that would often
cause a wondering look from those who passed him by. He had
conquered his own spirit, and trusting, he looked to God for his
vindication and his reward.
Just before the commencement in June, an escapade of unusual
viciousness caused the expulsion of Tom Wright and two of his
fellows.
As the students gathered in the college chapel on the last day of
school to hear the awards of prizes and scholarships that had been
won during the year, and the white-haired president had come to the
Ira Morton prize of $50 for the best Latin grades for the year, he
paused, and wiping his spectacles, said, “In connection with the
award of this prize, the Faculty have delegated to me another
pleasant duty. The confessions of some students whom we were
obliged to send home, during the past term, opened our eyes to the
fact that we have had in our midst as true a hero as any knight of
old; a lad whose courage and faithfulness under severe trial and
severer suspicion and accusation has shown a quality of manhood
and Christian spirit that honors this institution.” Briefly the president
sketched the career of the boy, then added, “To the $50 Morton
prize, the Faculty have added another $50 in recognition of the
conflict and glorious victory of this young man. Mr. Robert Allen,
come forward and receive the honor which is your due.”
In the years that were to come Robert Allen was to rise high in the
world, and receive honor from his fellow men, but no honor nor
applause ever was able to gladden his heart as did this vindication
and victory he had won through Jesus Christ.
TRANSCRIBER’S NOTE:
Obvious typographical errors have been corrected.
Inconsistencies in hyphenation have been standardized.
*** END OF THE PROJECT GUTENBERG EBOOK BOYS OF THE OLD
SEA BED: TALES OF NATURE AND ADVENTURE ***
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.