Usage example for stencil_order expansion of the 9-point stencil
0001 % Usage example for stencil_order 0002 % expansion of the 9-point stencil 0003 0004 A = [1/6 2/3 1/6; 0005 2/3 -10/3 2/3; 0006 1/6 2/3 1/6]; 0007 order = 6; 0008 [ final ] = stencil_order( A,order )