get_l_rough | R Documentation |
Returns a 1D differentiating matrix operating on a series with n points.
get_l_rough(n, deg)
n |
integer, number of data points |
deg |
order of the derivative to approximate |
Used to get first and 2nd order roughening matrices for 1-D problems
Matrix:discrete differentiation matrix
Jonathan M. Lees<jonathan.lees@unc.edu>
Aster, R.C., C.H. Thurber, and B. Borchers, Parameter Estimation and Inverse Problems, Elsevier Academic Press, Amsterdam, 2005.
### first order roughening matrix for a 10 by 10 model: a sparse matrix
N = 10
L1 = get_l_rough(10,1);
### second order roughening matrix for a 10 by 10 model
N = 10
L2 = get_l_rough(10,2);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.