Home > K25104 > PDEs > stencil_order_script_2.m

stencil_order_script_2

PURPOSE ^

Usage example for stencil_order

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for stencil_order

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Usage example for stencil_order
0002 
0003 A = [0 0 -1/12 0 0;
0004     0 0 4/3 0 0;
0005     -1/12 4/3 -5 4/3 -1/12;
0006     0 0 4/3 0 0;
0007     0 0 -1/12 0 0];
0008 order = 6;
0009 [ final ] = stencil_order( A,order )

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