Top Banner
1.1 Scattered Data Interpolation 1. Introduction Seite 1
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

Aug 09, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
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