Home > K25104 > PDEs > stencil_order_script_4.m

stencil_order_script_4

PURPOSE ^

Usage example for stencil_order

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for stencil_order
 expansion of the 9-point stencil

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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 )

Generated on Mon 18-Jan-2016 10:25:49 by m2html © 2005