Any Integration Algoritms?
Hi, I am wondering how to integrate data points. What i am trying to do is to get my lift and drag forces from my airfoil simulation. for that, i need to integrate pressure dx ,wall shear stress dy, etc. But i cannot use the simpson's integration algorithm because i have variable steps. do u have an algorithm to recommend besides the trapezoidal rule?
Cheerios Rif |
Re: Any Integration Algoritms?
You can use the Simpson method with nonuniform grid. Look at the zip file in the following link to see how it is performed
http://www.mathworks.com/matlabcentr...bjectType=File HTH |
All times are GMT -4. The time now is 22:37. |