Skip to content

[Numerical Analysis] Numerical differentiation and integration using MATLAB.

Notifications You must be signed in to change notification settings

uros-bojanic/numerical-methods

Repository files navigation

numerical-methods

[Numerical Analysis] Numerical differentiation and integration using MATLAB.

Homework/project in Numerical Analysis and Discrete Mathematics (13E082NAD) at the University of Belgrade, School of Electrical Engineering.

Numerical methods

Numerical differentiation

diferenciranje.m provides a MATLAB script to calculate the first derivative of the given function using:

  • a) forward divided difference method
  • b) backward divided difference method
  • c) central divided difference method.

differentiation

The error of these numerical methods are also given below:

differentiation_error

Numerical integration

simpson.m provides a MATLAB script to calculate the definite integral of the given function using the Simpson's rule.

simpson

The error for variable interval width is also given below:

differentiation_error

trapez.m provides a MATLAB script to calculate the definite integral of the given function using the trapezoidal rule.

trapeze

The error for variable interval width is also given below:

trapeze_error

About

[Numerical Analysis] Numerical differentiation and integration using MATLAB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages