Matlab Database > Numerical Quadrature > Composite trapezoidal rule

Matlab File(s)

Title: Composite trapezoidal rule
Author: Alain kapitho
Institution: University of Pretoria
Description: Function trapez() approximates the integral of f(x) in the interval [a; b] using the composite trapezoidal rule. n is the number of subintervals. The user neds to specify the function f(x) as a subfunction at the bottom of the file.
Keywords: Numerical integration, Trapezoidal composite rule
File Name: trapez.m
File Size: 597 Bytes
File Version: 1.0
Matlab Version: 7.0 (R14)
Date: 2006-01-20
Downloads: 14739
Download File

Upload your own files today! Click here for more information.