1 of 17

The Karhunen–Loève Expansion

Abu Bucker Siddik

​

New Mexico State University

​

​

1

2 of 17

Presentation Objectives

  • Introduce Karhunen–Loève (KL) expansion

​

  • Present expression and parameters for Karhunen–Loève expansion

​

  • Illustrate Karhunen–Loève expansion with MATLAB code and plots

​

  • Provide some insights about Karhunen–Loève expansion ����

2

3 of 17

Karhunen–Loève Expansion

  • Karhunen–Loève expansion is a representation of a random process as an infinite linear combination of orthonormal functions.
  • The expansion is named after Kari Karhunen and Michel Loève who developed it as a series of expansion method for continuous random process.
  • Because of the large number of computations required to find the orthonormal functions, KL expansion was virtually unused until the middle of the 20th century.
  • Radical changes came with the appearance of powerful computers and development of efficient algorithms to compute the eigenfunctions.
  • KL expansion is used extensively in the fields of detection, estimation, pattern recognition, and image processing as an efficient tool to store random processes.

​

3

From https://en.wikipedia.org/wiki/Karhunen–Loève_theorem

4 of 17

Karhunen–Loève Expansion

  •  

4

​

From Statistical Optics, Joseph W. Goodman

(1)

5 of 17

Karhunen–Loève Expansion

  •  

5

​

From Statistical Optics, Joseph W. Goodman

(2)

(3)

6 of 17

Karhunen–Loève Expansion

For simplicity, it is assumed that the random process U(t) has zero mean for all time.

​

​

​

For expansion coefficients to be uncorrelated, we require that

6

​

From Statistical Optics, Joseph W. Goodman

(4)

(5)

7 of 17

Karhunen–Loève Expansion

  •  

7

​

From Statistical Optics, Joseph W. Goodman

(6)

8 of 17

Karhunen–Loève Expansion

  •  

8

​

From Statistical Optics, Joseph W. Goodman

(7)

(8)

9 of 17

Karhunen–Loève Expansion

  •  

9

​

From Statistical Optics, Joseph W. Goodman

(9)

10 of 17

Application of KL expansion

  •  

10

​

From Statistical Optics, Joseph W. Goodman

(10)

(11)

11 of 17

Matlab Code for KL Expansion

​

N=100; % number of samples for each sample function

sd=1; % standard deviation

mu=0; % mean

Nave=100; % number of sample functions

​

for nave=1:Nave

R=(sd*randn(N,1))+ mu; % real part

I=(sd*randn(N,1))+ mu; % imaginary part

u=complex(R, I); % complex sample function

z(:,nave)=u; % realizations

end

​

%Autocorrelation function (zero mean)

B=(z*z')/Nave;

11

12 of 17

Matlab Code for KL Expansion

​

% Eigen functions and Eigen Values

[phi,lamda] = eig(B);

% Expansion coefficients

Bn=phi’*z;

% sample functions using Eigen functions and Expansion coefficients

reaz1=phi*Bn;

% Correlation of expansion coefficient

EE=(Bn*Bn')/Nave;

% Linear combination of orthonormal functions

y=0;

for b=1:100;

y1=Bn(b,1)*phi(1,b);

y=y+y1;

end

12

13 of 17

Matlab Code for KL Expansion

% display

disp("using Kl at time t1, u(t1)for 1st sample function:");

disp(y)

disp("from realization at time t1, u(t1)for 1st sample function:");

disp(z(1,1));

​

​

​

13

14 of 17

Result Analysis

14

 

15 of 17

Result Analysis

15

Figure: Comparison of actual first sample function and first sample function obtained from KL expansion

16 of 17

Result Analysis

16

Figure: Comparison of actual second sample function and second sample function obtained from KL expansion

17 of 17

Conclusion

  •  

17