Next Article in Journal
Neuro-Evolutionary Synthesis of Game Models of Control under Uncertainty Based on Distributed Computing Technology
Previous Article in Journal
A Hierarchical Model of a Vector Nash Equilibrium Search in a Control Problem under Conflict and Uncertainty
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Sum of Exponential Model for Fitting Data †

Department of Computer Science, College of Information Engineering, Guangzhou Panyu Polytechnic, Guangzhou 511483, China
*
Author to whom correspondence should be addressed.
Presented at the 3rd IEEE International Conference on Electronic Communications, Internet of Things and Big Data Conference 2023, Taichung, Taiwan, 14–16 April 2023.
Eng. Proc. 2023, 38(1), 87; https://doi.org/10.3390/engproc2023038087
Published: 25 July 2023

Abstract

:
As an approach to feature estimation, exponential fitting has attracted research interests in mathematical modeling. Semantic networks are used for numerous applications in computers, physics, and biology. However, such applications may have fitting troubles with various mathematical tools. Therefore, we present a novel method of fitting 2n data points of a signal to a sum of n exponential functions. The experiments proved that the proposed method operated well for linear and nonlinear functions, as its algorithm was straightforward, practical, and easy to determine. At the same time, the computational intricacy was considerably low, which has specific worth in use.

1. Introduction

Relevant information with the linear combinations of real and complex exponentials is pervasive in science and engineering applications. Given that Gaspard Riche de Prony developed an approach [1] to resolve the problem for equally spaced samples, numerous advancements, and applications have been proposed. We surveyed the most effective ones to explain their applications and experiences and to allow their application in various fields. A linear combination of exponentials was used in regular differential equations to explain the different physical processes. After being modeled by the remedy of a formula, a combination of exponentials provided valuable information such as decay rates or product residential or commercial properties in a physical system. Likewise, the exponential fitting had an excellent approximation on the compact of the domain with Fourier transformation in complex exponentials [2,3,4,5,6].
The purpose of this study was to present a method of fitting real signal data sampled at a period T in a set of 2n data points x ( 0 ) ,   x ( T ) ,   x ( 2 T ) ,   ,   x ( [ 2 n 1 ] T ) . The data points to the s curve were composed of n exponential functions with unknown weights and exponents. Mathematically, this involved the solution of the following Equations (1)–(5).
x ( k T ) = i = 1 n c i e p i ( k T )
For the unknown Ci and Pi in the complex conjugate pairs (Pi is an imaginary number), Equation (1) represents a sum of sinusoids. This curve fitting can have many applications. For example, if x(t) represents the impulse response of a linear time-invariant system, and the Laplace transform of Equation (1) yields the transfer function of an nth-order model of the system.

2. Curve Fitting Method

We let ϕ i denote e p i ( k T ) and x i denote x(kT). Then, Equation (1) could be rewritten as:
c 1 + c 2 + + c n = x 0 c 1 ϕ 1 + c 2 ϕ 2 + + c n ϕ n = x 1 c 1 ϕ 1 2 + c 2 ϕ 2 2 + + c n ϕ n 2 = x 2 c 1 ϕ 1 2 n 1 + c 2 ϕ 2 2 n 1 + + c n ϕ n 2 n 1 = x 2 n 1
Equation (2) is explained by the following theorem.
Theorem 1.
The nonlinear equation, such as Equation (2), possesses a unique solution {ck, Nk} (k = 1, 2, …, n) if and only with the following n × n matrix, which is nonsingular.
A x 0 x 1 x n 1 x 1 x 2 x n x n 1 x n x 2 n 2
The solution for Nk is given by the n distinct roots of the nth degree polynomial equation.
det 1 x 0 x 1 x n 1 ϕ k x 1 x 2 x n ϕ k 2 x 2 x 3 x n + 1 ϕ k n x n x n + 1 x 2 n 1 = 0
The solution for ck can then be given by:
A = 1 1 1 1 ϕ k ϕ 2 ϕ 3 ϕ n ϕ k 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ k 2 n 1 ϕ 2 2 n 1 ϕ 3 2 n 1 ϕ n 2 n 1 1
c 1 c 2 c 3 c n = A x 0 x 1 x 2 x n 1

3. Proof

3.1. Sufficiency Part

It could be supposed that A was nonsingular; the first n1 equation of Equation (2) could be arranged as:
B = 1 1 1 1 ϕ k ϕ 2 ϕ 3 ϕ n ϕ k 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ k 2 n 1 ϕ 2 2 n 1 ϕ 3 2 n 1 ϕ n 2 n 1  
  B   c 1 c 2 c 3 c n = x 0 x 1 x 2 x n 1
We let the columns of the left-most matrix in Equation (8) be denoted as:
v k 1 ϕ k ϕ k 2 ϕ k n T , k = 1 ,   2 ,   ,   n
and let x 0 x 0 x 1 x n T . Then, Equation (8) showed that x0 was a linear combination of {v1, v2, …, vn}.
Next, if the set of n + 1 consecutive equations in Equation (2) was considered as the starting point with the second equation, they could be rearranged as:
  1 1 1 1 ϕ 1 ϕ 2 ϕ 3 ϕ n ϕ 1 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ 1 n ϕ 2 n ϕ 3 n ϕ n n   c 1 ϕ 1 c 2 ϕ 2 c 3 ϕ 3 c n ϕ n = x 1 x 2 x 3 x n + 1
Equation (10) shows that x1 ≡ [x1, x2, …, xn+1]T was a linear combination of {v1, v2, …, vn}.
Similarly, if we considered the set of n + 1 consecutive equations in Equation (2) starting with the third equation, we could see that x2 ≡ [x2, x3, …, xn+2]T was a linear combination of {v1, v2, …, vn}.
This continued until the last n + 1 of Equation (2) was taken, from which it was shown that xn−1 ≡ [xn−1, xn, …x2n+1]T was a linear combination of {v1, v2, …, vn}.
Equation (3) of the Theorem implies that the vectors {x0, x1, …xn1} are linear and independent of each other. Hence, they span an n-dimensional subspace in an (n + l) dimensional Euclidean space. This subspace must be the same as the one spanned by the vectors {v1, v2, …, vn} since each xi, i = 0, 1, …, n−1 is a linear combination of the set {v1, v2, …, vn}. It follows that the vectors {v1, v2, …, vn} are linearly independent and that, from Equation (7) of vk (k = 0, 1, …, n), they must be distinct.
Moreover, each vk is a linear combination of {x0, x1, …xn+1}. This implies:
v k = 1 ϕ k ϕ k 2 ϕ k n = d 1 x 0 x 1 x 2 x n + d 2 x 1 x 2 x 3 x n + 1 + + d n x n 1 x n x n + 1 x 2 n 1
Equation (11) could be rearranged as an (n + 1) × (n + 1) equation system.
  1 x 0 x 1 x n 1 ϕ k x 1 x 2 x n ϕ k 2 x 2 x 3 x n + 1 ϕ k n x n x n + 1 x 2 n 1   1 d 1 d 2 d n = 0
Since the solution of Equation (12) was nontrivial, the determinant of the square matrix had to vanish, leading to Equation (4) which was an nth-degree polynomial equation in Nk because the coefficient of the nth power term of Nk could be seen from Equations (3) and (12) to be (−1)n det A, which was assumed to be nonzero. The n roots Nk of Equation (4) must be distinct because each Nk had to satisfy Equation (4) and be distinct. Having obtained the distinct values of Nk, k = 0, 1, …, n, ck could be given by the first n equations (Equation (2)), which led to Equation (6) in the Theorem.
As for the uniqueness of the solution, since every solution {ck, Nk} (k = 1, 2, …, n) had to satisfy Equation (4), according to the above arguments, Equation (4) produced exactly n distinct values for Nk, and the solution of Equation (2) was unique.

3.2. Necessity Part

Suppose Equation (2) has a unique solution {ck, Nk} (k = 1, 2, …, n). This implies the following.
(i) Nk must be distinct from each other; otherwise, non-unique combinations of ck in Equation (2) exist and are fulfilled.
(ii) None of ck vanishes; otherwise, the value of Nk associated with a vanishing ck becomes non-unique.
The first n of Equation (2) gave:
C =   1 1 1 1 ϕ 1 ϕ 2 ϕ 3 ϕ n ϕ 1 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ 1 n 1 ϕ 2 n 1 ϕ 3 n 1 ϕ n n 1   1
c 1 c 2 c 3 c n = C x 0 x 1 x 2 x n 1
The next n of Equation (2), starting with the second equation, gave:
D =   1 1 1 1 ϕ 1 ϕ 2 ϕ 3 ϕ n ϕ 1 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ 1 n 1 ϕ 2 n 1 ϕ 3 n 1 ϕ n n 1   1
c 1 ϕ 1 c 2 ϕ 2 c 3 ϕ 3 c n ϕ n = D x 1 x 2 x 3 x n
This proceeded until the set of n in the consecutive Equation (2), starting with the nth equation, was reached.
E =   1 1 1 1 ϕ 1 ϕ 2 ϕ 3 ϕ n ϕ 1 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ 1 n 1 ϕ 2 n 1 ϕ 3 n 1 ϕ n n 1   1
c 1 ϕ 1 n 1 c 2 ϕ 2 n 1 c 3 ϕ 3 n 1 c n ϕ n n 1 = E x n 1 x 2 x n + 1 x 2 n 2
Combining Equations (14) to (18) yielded:
F =   1 1 1 1 ϕ 1 ϕ 2 ϕ 3 ϕ n ϕ 1 2 ϕ 2 2 ϕ 3 2 ϕ n 2 ϕ 1 n 1 ϕ 2 n 1 ϕ 3 n 1 ϕ n n 1   1
G = x 0 x 1 x 2 x n 1 x 1 x 2 x 3 x n x 2 x 3 x 4 x n + 1 x n 1 x n x n + 1 x 2 n 2
c 1 c 1 ϕ 1 c 1 ϕ 1 n 1 c 2 c 2 ϕ 2 c 2 ϕ 2 n 1 c 3 c 3 ϕ 3 c 3 ϕ 3 n 1 c n c n ϕ n c n ϕ n n 1 = F G

4. Examples

Consider the signal:
x ( t ) = 2 e 2 t 3 e t
Sampling this signal at a sampling period T = 1 yielded Equation (2) with c1 = 2, c2 = −3, N1 = e−2 = 0.13533283, N2 = e1 = 2.718281828, x0 = −1, x1 = −7.88417491, x2 = −22.130537, and x3 = −60.2516532. Let us reverse this process. After sampling four consecutive points of the signal x(t) at a uniform sampling period T = 1, we obtained the values of {x0, x1, x2, x3}, as indicated above, which could be solved for {c1, c2, N1, N2}. From Equation (2), we obtained:
c 1 + c 2 = 1
c 1 ϕ 1 + c 2 ϕ 2 = 7.88417491
c 1 ϕ 1 2 + c 2 ϕ 2 2 = 22.130537
c 1 ϕ 1 3 + c 2 ϕ 2 3 = 60.2516532
First, we could see that:
A = x 0 x 1 x 1 x 2 = 1 7.88417491 7.88417491 22.130537
was nonsingular. Nk was obtained as the root of Equation (4), which, in this case, led to:
det 1 1 7.88417491 ϕ k 7.88417491 22.130537 ϕ k 2 22.130.537 60.2516532 = 40.029677 ϕ k 2 + 114.2293714 ϕ k 14.7260955 = 0
This yielded N1 = 0.135335283 and N2 = 2.718281828. Substituting these values into Equation (6) provided:
1 1 0.13533528 2.71828182 c 1 c 2 = 1 7.88417491
from which we obtained c1 = 2 and c2 = −3. From known N1 and N2, p1 = −2 and p2 = 1 were obtained according to Фi = epiT.

5. Conclusions

The problem of fitting 2n data points to a curve consisting of n exponential functions was solved. The exponential functions were complex in general, with sinusoids being a special case. The curve-fitting problem was solved by a system of nonlinear algebraic equations. An example has been given to illustrate the procedure of this method.

Author Contributions

Conceptualization, methodology, T.-C.C.; writing—original draft preparation, M.-H.W.; validation, writing—review and editing, Y.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Guangdong College Research Platform and Research Project grant number 2021ZDZX1137 and 2019GKTSCX069, the Panyu Polytechnic Innovation Team grant number 2020CXTD003 (2011/210113263), the Panyu Polytechnic Research Project grant number 2021KJ04 (2011/210113263), and the Department of Education of Guangdong Province, China, grant number 2020KQNCX192.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Prony, R. Essai experimental et analytique sur les lois de la Dilatabilit_e des uideselastiques et sur celles de la Force expansive de la vapeur de l’eau et de la vapeur de l’alkool, a differentes temperatures. J. L’ecole Polytech. Floreal Prairial 1795, 3, 24–76. [Google Scholar]
  2. Istratovand, A.A.; Vyvenko, O.F. Exponential analysis in physical phenomena. Rev. Sci. Instrum. 1999, 70, 1233–1257. [Google Scholar] [CrossRef]
  3. Naus, H.; van Stokkum, I.H.M.; Hogervorst, W.; Ubachs, W. Quantitative analysis of decay transients applied to a multimode pulsed cavity ringdown experiment. Appl. Opt. 2001, 40, 4416–4426. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Stry, S.; Hering, P.; Mürtz, M. Portable difference-frequency laser-based cavity leak-out spectrometer for trace-gas analysis. Appl. Phys. B 2002, 75, 297–303. [Google Scholar] [CrossRef]
  5. von Basum, G.; Dahnke, H.; Halmer, D.; Hering, P.; Mürtz, M. Online recording of ethane traces in human breath via infrared laser spectroscopy. J. Appl. Physiol. 2003, 95, 2583–2590. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Booth, R.S. Fitting Data Containing Multiple Exponentials Using Functionals Derived from Finite Laplace Transforms of Time Moments of the Data. Nucl. Technol. 2017, 198, 217–227. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chang, T.-C.; Wu, M.-H.; Lin, Y. Sum of Exponential Model for Fitting Data. Eng. Proc. 2023, 38, 87. https://doi.org/10.3390/engproc2023038087

AMA Style

Chang T-C, Wu M-H, Lin Y. Sum of Exponential Model for Fitting Data. Engineering Proceedings. 2023; 38(1):87. https://doi.org/10.3390/engproc2023038087

Chicago/Turabian Style

Chang, Ting-Cheng, Min-Hao Wu, and Ying Lin. 2023. "Sum of Exponential Model for Fitting Data" Engineering Proceedings 38, no. 1: 87. https://doi.org/10.3390/engproc2023038087

Article Metrics

Back to TopTop