Vorheriges Thema

fspline

Nächstes Thema

ftell

Diese Seite

fspline2

fspline2 führt eine 2-dimensionale Matrix zu Matrix-Interpolation durch.

rmZi = fspline2(rvX, rvY, rmZ, rvXi, rvYi, rsSmoothFactor)

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.

rsSmoothFactor

rsSmoothFactor ist eine Zahl größer oder gleich 0.0. Bei 0.0 wird kein Ausgleich durchgeführt.

Beispiel

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

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

History

Version Beschreibung
5.20 Neu.

id-16394