Imagine that you have two series of data (nx1). Imagine that these data come from two sensors measuring the displacement of a particle around a certain point, something like this:
The sensors measure the position X-Y 100 times each second and you measure for 30 seconds. At the end you will have two vectors containing 3000 samples each one.
Something like this:
x=[3,6,7,5,3,2,3,7,8,9,7,5,3,2,12,3,5,7,8……...n]
y=[2,4,5,6,7,3,5,3,2,5,7,43,6,8,4,2,4,6,7,……..n]
From these vectors of data you must to calculate the area drawn by the (x,y) values, the contour of the image.