# Euklid (Inverse) Distance Weight Matrix 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing : Freeware

Created : Aug 14, 2007

Downloads : 1

Thank you for voting...

## function W = euklid_W(ws,d,n)<br />function W = ...

function W = euklid(ws, d, n)

function W = euklid_invW(ws, d, n)

PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted. )

USAGE: W = euklid_W([wsy wsx], [dy dx], n)

where: ws is a vector [wsy wsx] of the x and y size of the matrix (uneven!)

d (optional) is a vector [dy dx] of the cell in y and x direction (default 1)

[n] (optional) specifies how to normalize the weight matrix.

2) 'none' or NA for a non-normalized matrix (default)

NOTES: Weights are the the euklidean distance to the center cell. Center cell weight is zero.

function W = euklid_invW(ws, d, n)

PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted. )

USAGE: W = euklid_W([wsy wsx], [dy dx], n)

where: ws is a vector [wsy wsx] of the x and y size of the matrix (uneven!)

d (optional) is a vector [dy dx] of the cell in y and x direction (default 1)

[n] (optional) specifies how to normalize the weight matrix.

**Options for [n] are:**

1) 'norm' to create a normalized weight matrix (sum of all weights is 1)2) 'none' or NA for a non-normalized matrix (default)

**OUTPUTS:**

[W] a matrix with weights for every cell except center.NOTES: Weights are the the euklidean distance to the center cell. Center cell weight is zero.

**Euklid (Inverse) Distance Weight Matrix 1.0 scripting tags:**vector, distance, euklid, matrix, euklid inverse, distance weight matrix, center, cell, earth sciences.

**What is new in Euklid (Inverse) Distance Weight Matrix 1.0 software script?**- Unable to find Euklid (Inverse) Distance Weight Matrix 1.0 news.

**What is improvements are expecting?**Newly-made Euklid (Inverse) Distance Weight Matrix 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Euklid (Inverse) Distance Weight Matrix. License limitations are unspecified.