arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.13256math.NAcs.NA
收藏

一个简单的MATLAB程序通过拉格朗日插值计算任意网格的微分矩阵

A simple MATLAB program to compute differentiation matrices for arbitrary meshes via Lagrangian interpolation

Miguel Pérez-Saborid

摘要:

本文给出了一个计算任意一维网格微分矩阵的MATLAB程序。由N个任意间隔点组成的网格的微分矩阵是由固定但任意数目M<=N个相邻网格点的拉伸上的拉格朗日插值得到的。对于M=N的特殊情况和网格与切比雪夫或勒让德分布的点,该程序产生众所周知的谱微分矩阵。对于M<N和M奇数,对于均匀间隔网格的特殊情况,微分矩阵与通过中心有限差分获得的微分矩阵一致。

英文摘要:

A MATLAB program for computing differentiation matrices for arbitrary one-dimensional meshes is presented in this manuscript. The differentiation matrices for a mesh of N arbitrarily spaced points are formed from those obtained using Lagrangian interpolation on stencils of a fixed but arbitrary number M<=N of contiguous mesh points. For the particular case M=N and meshes with Chebyshev or Legendre distributions of points, the program yields the well known spectral differentiation matrices. For M<N and M odd, the differentiation matrices coincide, for the special case of an evenly spaced mesh, with those obtained by central finite differences.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑