quote:
Originally posted by Flopi
Hello all,
I would like to calculate an area with ORIGIN. The issue is that the data I have look like the following image
There are some x-position where we have 2 (or more) y-values. My question is then twofold : is the integrate operation in ORIGIN calculating the proper area under my curve (i.e. the area enclosed by the curve). If not, how shoud I proceed to obtain the proper area ?
Thanks a lot for your help
I suppose you are looking for something equivalent to polyarea(X, Y) in MATLAB. Here it is:OCMATH_API_MUST double ocmath_d_polygon_area(double* pX, double* pY, uint nSize)
It's available in Origin C though.
©c¡Ï ¤È¥¹ ©f¨u©c ©c¥ì ¥Î¤³ ©c/ ©¦£¯
©c¨Ê¥Î ¤´¥¨ ¥ó ¨× ¥ó¤á' ¥Ì©¦¥ /¤í ¥Õ©¦©f
¨Ö ¦á ©¦£þ ©` ¥Õ ©¦
©¦