Main Content

franke

フランケの 二変量テスト関数

構文

z = franke(x,y)

説明

z = franke(x,y) は、サイト (x(i),y(i)) (ここで i=1:numel(x)) でのフランケの関数の値 z(i) を返します。ここで、zx および y (同じサイズでなければならない) と同じサイズです。

フランケの関数は、次の 4 つの指数の重み付き和です。

34e((9x2)2+(9y2)2)/4+34e((9x+1)2/49+(9y+1)/10)    +12e((9x7)2+(9y3)2)/415e((9x4)2+(9y7)2)

次のコマンドは、フランケの関数のプロットを提供します。

pts = (0:50)/50; [x,y] = ndgrid(pts,pts); z = franke(x,y);
surf(x,y,z), view(145,-2), set(gca,'Fontsize',16)

The plot shows a surface with two peaks.

参考文献

[1] Richard Franke. “A critical comparison of some methods for interpolation of scattered data.” Naval Postgraduate School Tech.Rep. NPS-53-79-003, March 1979.