How to integrate discrete data by Gaussian quadrature method

4 views (last 30 days)
Hello,
I'm trying to numerically integrate discrete data by Gaussian quadrature method. The file attached "test.mat" is a discrete data set taken from a finite-element mode solver and has the following variables.
------------------------------------------
x, y : Coordinates of each node
nodes : Node of each triangular element
normE : Electric field distribution
------------------------------------------
How can I apply Gaussian quadrature method to the data set attached to calculate the area integration below?

Answers (1)

José-Luis
José-Luis on 29 Jun 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!