8
1.1 Scattered Data Interpolation 1. Introduction Seite 1

1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1.1 Scattered Data Interpolation

1. Introduction Seite 1

Page 2: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1. Introduction Seite 2

Page 3: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1. Introduction Seite 3

Page 4: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1. Introduction Seite 4

Page 5: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

function D = distm(X,Y)

% DISTM Distance matrix.

% DISTM(X,Y) is the matrix of pairwise euclidean

% distances between the points in the rows of X and Y

[M,s] = size(X); [N,s] = size(Y);

D = repmat(sum(X.*X,2),1,N) - 2*X*Y' + repmat((sum(Y.*Y,2))',M,1);

D = sqrt(D);

1.2 Example: Euclidean Distance Functions

1. Introduction Seite 5

Page 6: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1. Introduction Seite 6

Page 7: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1.3 Example: Gaussians

1. Introduction Seite 7

Page 8: 1.1 Scattered Data Interpolation · function D = distm(X,Y) % DISTM Distance matrix. % DISTM(X,Y) is the matrix of pairwise euclidean % distances between the points in the rows of

1. Introduction Seite 8