Home > K25104 > PDEs > stencil_order_script_1.m

stencil_order_script_1

PURPOSE ^

Usage example for stencil_order

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for stencil_order
 expansion of the 5-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 5-point stencil
0003 
0004 A = [0 1 0;
0005     1 -4 1;
0006     0 1 0];
0007 order = 6;
0008 [ final ] = stencil_order( A,order )

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