I am trying to find the area between these two curves that I got from XFOIL. Is there a simple way to do this? I was able to export the coordinates of the two curves and put them into matlab as X1, Y1, X2, and Y2. I'm guessing I'm gonna have to do some sort of interpolation, because though the two curves begin and end at the same XY values, the number of values is different. Sorry if this is a repeat question, but I couldn't find any problems in the forum that are similar to my case. Any advice would be greatly appreciated!
MATLAB: How to calculate the area between these two lines
integralinterpolationtrapz
Related Question
- Upsampling the data using interpolation gives NaN values.
- How to compare two 2D curves which have shifted x value
- How to use inerpolation option with end values? If I use interp1 command it’s giving NaN as the output if input is out of the range. I want to use end values if input is out of the range
- Using fsolve over a range of equations.
- How to fix error about interp1
Best Answer