Home > K25104 > PDEs > stencil_order_script_6.m

stencil_order_script_6

PURPOSE ^

Usage example for stencil_order

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for stencil_order
 related to Exercise 8.6

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Usage example for stencil_order
0002 % related to Exercise 8.6
0003 
0004 A = [0 0 1 0 0;
0005     0 2 -8 2 0;
0006     1 -8 20 -8 1;
0007     0 2 -8 2 0;
0008     0 0 1 0 0];
0009 order = 6;
0010 [ final ] = stencil_order( A,order )

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