Skip to content

Here are some matlab codes needed in the course of scientific calculation in SJTU

License

Notifications You must be signed in to change notification settings

nbwzx/Matlab-Code-for-Scientific-Computing

Repository files navigation

这是什么?

这些上海交通大学科学计算课程需要的一些MATLAB代码,配套课本《数值分析》, 李庆扬,王能超,易大义,清华大学出版社。

项目背景

2019-2020年第二学期,受疫情影响,上海交通大学数学科学学院科学计算课程采用开卷考试,允许使用MATLAB,所以我整理和编写以下MATLAB程序,供使用者进行参考、学习以及非商业使用。

使用

使用者只需要安装MATLAB,然后将程序下载后添加到MATLAB的工作路径中即可使用。

有哪些程序?

  • Lagrange.m             作Lagrange插值

  • Newton.m              作Newton插值

  • Hermite.m               作Hermite插值

  • Cubicspline.m           作三次样条插值

  • Leastsquares.m           利用最小二乘法拟合多项式

  • orthpoly.m              构建正交多项式

  • Comtrapezium.m         复合梯形求积

  • Comsimpson.m          复合辛普森求积

  • Romberg.m              龙贝格求积

  • chase.m                 追赶法解三对角矩阵线性方程组

  • doolittle.m               doolittle分解(直接三角分解)求解线性方程组

  • improvecholesky.m       改进的平方根法求解线性方程组

  • jacobi.m                 Jacobi迭代解线性方程组

  • SOR.m                   SOR迭代解线性方程组

  • gaussseidel.m            Gauss–Seidel迭代解线性方程组

  • matrix.m                 矩阵的相关matlab内置函数

许可证

GNU Lesser General Public License v3.0

项目负责人

上海交通大学王子兴。Github主页:nbwzx

写在最后

有任何意见或建议欢迎发issue,也欢迎成为contributor直接贡献代码。期待您的加入!

如果您喜欢这个项目,希望可以点一个star哦!

About

Here are some matlab codes needed in the course of scientific calculation in SJTU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages