How do I perform an integration on a two-dimensional surface of scatttered data?
76 views (last 30 days)
Show older comments
I have measured data in two dimensions, not on a uniform grid. I want to perform the surface integral over the two dimensions, to get a smooth 2D surface function that I can evaluate at any input (x, y), which may be beyond the original measurement space, so smoothness and sensible extrapolation are desirable features of the integrated surface.
I have used 'scatteredInterpolant' function to obtain the surface of the original data, and then used 1-dimensional numerical integration in each dimension to create the appearance of a surface, but this is not a function F(x,y).
0 Comments
Answers (1)
Yogesh Khurana
on 23 Aug 2019
Hi,
I am assuming that you already got the interpolated data by using scatteredInterpolant. Now for integrating the data you can use MATLAB’s integral functions like:
Following are some links that are some of the cases similar to this case:
Please refer to links above for more information.
Hope this helps!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!