Vorheriges Thema

akimaspline

Nächstes Thema

alias

Diese Seite

akimaspline2

akimaspline2 führt eine 2-dimensionale “Matrix zu Matrix”-Interpolation durch.

rmZi = akimaspline2(rvX, rvY, rmZ, rvXi, rvYi)

Returnwert

rmZi ist die interpolierte Matrix an den Stellen rvXi, rvYi.

Parameter

rvX

rvX sind die x-Koordinaten der Matrix rmZ.

rvY

rvY sind die y-Koordinaten der Matrix rmZ.

rmZ

rmZ ist eine Matrix.

rvXi

rvXi sind die Stützstellen in aufsteigender Folge.

rvYi

rvYi sind die Stützstellen in aufsteigender Folge.

Beispiel

// File created from "script\math\akimaspline2.ic".

def test_akimaspline2()
{
    if (version(1) < 5200) return;
    m = [0, 0, 0;
         0, 1, 0;
         0, 0, 0];
    x = [0, 0.5, 1]
    y = x;
    mi = akimaspline2(x, y, m, xi = linspace(0, 1, 50), xi);
    plotxyz(xi, xi, mi);
}
test_akimaspline2()

History

Version Beschreibung
5.20 Neu.

id-1332188