OPTIMAL INTERPOLATION

Prosekov O. V. (sc2@pisem.net)

November 2, 2004

St. Petersburg city seminar “Wavelets and Their Applications”. Section “Discrete Harmonic Analysis”: http://www.math.spbu.ru/user/dmp/dha/ (archive)

Contents

Statement of the problem

Let N = mn, where n > 1, and let r be a natural number. Consider the extremal problem:

It requires constructing the smoothest possible signal that takes the given values z(l) at the nodes ln. Smoothness is measured by the squared norm of the finite difference of order r. Usually r = 2.

Input data

r = 2;
n = 8;
m = 8;
N = m*n;

rand('state', 0);
z = rand(m, 1);

Initialization of local data

dependence on m and n:

N = m*n;
q = (0:n-1)';
p = 1:m-1;
s = 1:n-1;
omega_N = exp(pi/N*2i);
omega = omega_N .^ (p'*s);                 % m-1 x n-1
A = repmat(p, n, 1) + repmat(q*m, 1, m-1); % n x m-1

Computing an intermediate array of constants

dependence on r:

A = 4 * sin(pi/N * A) .^ (-2*r);           % n x m-1
A = ifft(A).';                             % n x m-1

Computing the arrays of constants

lambda = 1 ./ A(:,1);                      % m-1 x 1
D = A(:,2:end) .* omega;                   % m-1 x n-1

Optimal interpolation

frc = isreal(z);
x  = zeros(m, n);
B  = zeros(m, n-1);

x(:,1) = z;
Z = fft(z);

Z(2:end) = lambda .* Z(2:end);

B(1,:) = Z(1);

B(2:end,:) = repmat(Z(2:end), 1, n-1) .* D; % m-1 x n-1
B = ifft(B);                                % m x n-1

x(:,2:end) = B;
x = reshape(x.', [], 1);
if frc, x = real(x); end

For comparison, we use the built-in MATLAB function interpft

y = interpft(z, N);

Plots of the signals

j = 0:N-1;
l = 0:m-1;

figure
hold on
stem(j, y, 'm', '-o', 'MarkerSize', 5)
stem(j, x, 'g', '-o', 'MarkerSize', 5)
stem(l*n, z, 'b', '-o')
legend('interpft', 'optinterp', 'original')
hold off

REFERENCES

Malozemov V. N., Masharsky S. M. Foundations of Discrete Harmonic Analysis. Part 1. St. Petersburg: NIIMM, 2003. pp. 51-57 (in Russian).