Difference between revisions of "Fdvec.m"
(Normalise sequential blank lines) |
|||
| Line 21: | Line 21: | ||
==See also== | ==See also== | ||
[[fdmat.m]], [[fdlap.m]], [[fdhess.m]], [[fdkup.m]], [[fdweights.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]] | [[fdmat.m]], [[fdlap.m]], [[fdhess.m]], [[fdkup.m]], [[fdweights.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]] | ||
| − | |||
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Revision as of 12:25, 25 April 2026
Performs arbitrary-order finite-difference differentiation of a user-supplied row or column vector. Uses central finite-difference stencils in the middle and sided stencils of the same order of accuracy on the sides.
Contents
Syntax
dx=fdvec(x,npoints,order)
Arguments
x - column or row vector to be differentiated
npoints - number of points in the finite difference
stencil
order - order of the derivative required
Outputs
dx - column or row vector with the derivative
See also
fdmat.m, fdlap.m, fdhess.m, fdkup.m, fdweights.m, fftdiff.m, fourdif.m, fourlap.m
Version 2.2, authors: Ilya Kuprov