Many students ask me how do I do this or that in MATLAB. So I thought why not have a small series of my next few blogs do that. In this blog, I show you how to integrate a discrete function.
The MATLAB program link is here.
The HTML version of the MATLAB program is here.
_____________________________________________________
%% HOW [...]
Posts Tagged as ‘Integration’
April 3, 2009
How do I integrate a discrete function in MATLAB?
March 28, 2009
How do I integrate a continuous function in MATLAB
Many students ask me how do I do this or that in MATLAB. So I thought why not have a small series of my next few blogs do that. In this blog I show you how to integrate a continuous function.
The MATLAB program link is here.
The HTML version of the MATLAB program is here.
___________________________________________
%% HOW [...]
February 23, 2009
Why keep doubling the segments for an automatic integrator based on Trapezoidal rule?
This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at http://numericalmethods.eng.usf.edu, the textbook on Numerical Methods with Applications available from the lulu storefront, and the YouTube video lectures available at http://www.youtube.com/numericalmethodsguy.
Subscribe to the blog via a reader or email to stay updated with this blog. Let the information follow you.
July 25, 2008
Can I use numerical solution of ODE techniques to do numerical integration?
Yes.
If you are finding the value of the , then we can solve the integral as an ordinary differential equation as
dy/dx=f(x), y(a)=0
We can now use any of the numerical techniques such as Euler’s methods and Runge-Kutta methods to find the value of y(b) which would be the approximate value of the integral. Use [...]