This repository contains MATLAB code for various numerical methods implemented as part of the BS-M(CS)491 Numerical Methods Lab course.
The folder contains the following MATLAB files:
- 1_newtonforward.m: MATLAB code for implementing Newton Forward interpolation method.
- 2_newtonbackward.m: MATLAB code for implementing Newton Backward interpolation method.
- 3_lagranges.m: MATLAB code for implementing Lagrange interpolation method.
- 4_trapezoidal.m: MATLAB code for implementing Trapezoidal numerical integration method.
- 5_simpson.m: MATLAB code for implementing Simpson's 1/3 Rule for numerical integration.
- 6_weddle.m: MATLAB code for implementing Weddle's Rule for numerical integration.
- 7_gaussele.m: MATLAB code for implementing Gauss Elimination method for solving systems of linear equations.
- 8_gaussSiedel.m: MATLAB code for implementing Gauss-Siedel Iterative method for solving systems of linear equations.
- classprog.m: MATLAB code for implementing classwork.
- classprog2.m: MATLAB code for implementing classwork version 2.
- classprog3.m: MATLAB code for implementing classwork version 3.
- gauss.m: MATLAB code for implementing Gaussian numerical integration method.
- gaussElimination.m: MATLAB code for implementing Gauss Elimination method for solving systems of linear equations.
- Siedel.m: MATLAB code for implementing Siedel Iterative method for solving systems of linear equations.
- trapezoidal.m: MATLAB code for implementing Trapezoidal numerical integration method.
- trapezoidal2.m: MATLAB code for implementing Trapezoidal numerical integration method version 2.
Each MATLAB file in the repository corresponds to a particular numerical method. To use the code, simply open the file in MATLAB and run it. The input parameters are defined within the code, and the output will be displayed in the command window.