''Intuitive understanding of Kalman filtering with MATLAB'' First Edition Adjouadi 2024 Scribd Download
''Intuitive understanding of Kalman filtering with MATLAB'' First Edition Adjouadi 2024 Scribd Download
com
https://textbookfull.com/product/intuitive-understanding-of-
kalman-filtering-with-matlab-first-edition-adjouadi/
OR CLICK BUTTON
DOWNLOAD NOW
https://textbookfull.com/product/kalman-filtering-with-real-time-
applications-5th-edition-charles-k-chui/
textboxfull.com
https://textbookfull.com/product/sucker-punch-anita-blake-vampire-
hunter-27-first-edition-laurell-k-hamilton/
textboxfull.com
https://textbookfull.com/product/wall-street-journal-monday-
april-27-2020-news-corp/
textboxfull.com
Wall Street Journal Wednesday May 27 2020 News Corp
https://textbookfull.com/product/wall-street-journal-wednesday-
may-27-2020-news-corp/
textboxfull.com
https://textbookfull.com/product/bishop-wonderland-badass-security-
council-bsc-27-l-ann-marie/
textboxfull.com
https://textbookfull.com/product/understanding-digital-signal-
processing-with-matlab-and-solutions-first-edition-edition-poularikas/
textboxfull.com
Armando Barreto
Malek Adjouadi
Francisco R. Ortega
Nonnarit O-larnnithipong
MATLAB® is a trademark of Te MathWorks, Inc. and is used with permission. Te MathWorks does not warrant
the accuracy of the text or exercises in this book. Tis book’s use or discussion of MATLAB® sofware or related
products does not constitute endorsement or sponsorship by Te MathWorks of a particular pedagogical approach
or particular use of the MATLAB® sofware.
Acknowledgments, xi
Authors, xiii
Introduction, xv
PART I Background
v
vi ■ Contents
REFERENCES, 217
INDEX, 221
Acknowledgments
xi
Authors
xiii
xiv ■ Authors
xv
xvi ■ Introduction
• Tis book focuses on the Discrete Kalman Filter. Terefore, with the
exception of the initial discussion in Section 1.1, we will be dealing
with discrete‑time sequences. However, to keep compatibility with the
notation used in many sources related to Kalman Filtering (including
Kalman’s 1960 paper) we will denote those sequences as, for example,
x(t). In other words, we will use “t” as a discrete‑time index. (Tis is in
contrast to many signal processing books which use “t” for continu-
ous time and another variable, e.g., “n” to index discrete time.)
• Our discussions will involve scalar variables and matrices (or vec-
tors, as sub-cases of matrices). To diferentiate them we will use bold
typeface for matrices and vectors. For example, v1(t) represents a sca‑
lar sequence of (digitized) voltages, while F(t) is the state transition
matrix, which may vary from sampling instant to sampling instant, as
it is shown as a function of “t.”
• In addition to having included the listings of all the “MATLAB codes”
in the chapter where each is frst mentioned, all these fles can be
retrieved from the repository at https://github.com/NuiLab/IUKF.
• Due to the font and margins used, in some instances, a long line of
MATLAB code may be printed in this book partially “wrapped” into
the next line. Te fles in the repository do not have this efect.
xviii ■ Introduction
1
CHAPTER 1
Tis chapter presents the reader with the concept of a model for a system
and justifes the need to address some variables as random (and not deter-
ministic) variables. Te remainder of this chapter is devoted to provid-
ing an intuitive understanding of the typical mechanisms that are used
to characterize random variables, emphasizing the understanding of how
the characterization applies to the digitized values of a signal. Te latter
portion of this chapter focuses on the Gaussian (Normal) probability dis-
tribution, its notation, the efect of processing samples that have a Gaussian
distribution through a transformation represented by a straight line, and
the characteristics exhibited by a random variable that is the result of mul-
tiplying two variables that have Gaussian probability distributions.
obtained from the models are good predictors of what will happen if the
same manipulations applied to the model are implemented in the real
world. Tose real-life constraints and the manipulations performed in
the model are commonly expressed and achieved in mathematical terms.
For example, Kirchhof’s Voltage Law states that the net sum of voltages
around a loop is zero (Rizzoni 2004):
∑V = 0
i
i (1.1)
Using this and the model of the relationship between the current iR through
a resistor R and the voltage VR across its terminals (“Ohm’s Law”):
VR = R I R (1.2)
one can calculate, using only algebra, the voltages at the nodes of a resistive
circuit with one loop.
For example, if we “simulate” a sinusoidal voltage source, Vs(t) = sin(ωt),
applied to the circuit in Figure 1.1, we can use the model to develop an “equa-
tion” that would predict the value of the output voltage Vo(t) for any time t:
I R1 (t ) = I R2 (t ) = I (t ) (1.5)
Vs (t )
I (t ) = (1.7)
R1+ R2
And
Vo (t ) = VR2 (t ) = R2 * I (t ) (1.8)
So
R2
Vo (t ) = Vs (t ) (1.9)
R1+ R2
Tat is:
sin (˜t ) * R2
Vo (t ) = (1.10)
(R1+ R2)
If we attach to this model “nominal” values of the elements (R1, R2, ω) that
replicate the real behavior of the physical components in a real-life circuit,
we could “predict” the value of Vo(t) at any desired time t. For example, if
R1 = 10,000 Ohm, R2 = 10,000 Ohm and ω = 3.1416 radians per second,
then our model predicts:
From this we could predict that at t = 0.5 seconds, Vo = 0.5 volts. If t = 1.0
seconds, Vo = 0 V. If t = 1.5 seconds, Vo = –0.5 V, etc.
Equation 1.12 is the analytic expression of a deterministic model for
Vo(t). You plug in the value of t and the model tells you what the specifc
value of Vo will be (as estimated by this model). And you get a specifc
answer for each and any value of t you may want to ask about.
It is important to highlight three aspects of these deterministic models:
1. Tey will yield a specifc value of the output variable for any value of
the input variable, “no exceptions,” which sounds great, and makes
engineers very enthusiastic about them.
2. But, getting “an answer” from these models does not imply in any
way that you are getting “the real answer.” Tat is, if the model is not
6 ■ Kalman Filtering with MATLAB®
However, we are unable to predict the values of many real-life signals in the
defnitive way provided by a deterministic characterization, such as Equa-
tion 1.12. For example, there is no deterministic model that will accurately
tell me the value of voltage coming from a microphone, Vo(t), when I clap
my hands next to it.
We know the microphone will yield a voltage that varies through time,
alternating above and below 0 V, but there is no equation that can tell
me the specifc value of voltage that an oscilloscope will show right at
t = 0.020 seconds (20 milliseconds), from the moment when my two hands
frst touch each other when I clap. Tis is an example of a signal that can-
not be easily characterized with a deterministic model. In this example,
Vo(t) is best characterized as a “random variable.”
Tis seems to be a considerable setback. How can I characterize a ran-
dom variable like the voltage signal generated when I clap? Is there any-
thing I can say about it to describe it? Or, in other words, how can I try to
describe a random variable? If we were to look at the voltage coming out
of a (“dynamic”) microphone when I clap, we would notice that there are
“certain things” that can be said about it. If we are looking at the voltage
straight from the microphone, we will see that it is very unlikely to ever
reach outside a (symmetric) range of voltages. For example, it is not likely
to be above 1 Volt or below -1 Volt. In fact, it seems that “most of the time”
the voltage level is closely above or below 0 Volts.
Important Note: Please be aware that, from this point forward, we will use
“t” as a discrete-time index (McClellan, Schafer, and Yoder 2003, 2016).
Tat is, we will use “t” when referring to discrete samples of a digitized
signal, such as x(t). We have chosen to use “t” to represent discrete time to
keep compatibility with other texts discussing Kalman Filtering, including
Kalman’s paper (Kalman 1960).
FIGURE 1.2 Creation of the histogram of a random discrete time signal. (Only fve samples are shown, as examples.)
System Models and Random Variables ■ 9
FIGURE 1.3 10,000 points of a random time series with mean 0 and variance 1.0.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com