Numerical Integration of Data Set

Numerical Integration of Data Set - Numerical Integration of Data Set - 消息

#1 已发布: 2017/3/22 05:22:47
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Is there an easy way to integrate a data set using the trapezoid rule, like the "trapz" function in matlab?
Also is there an easy way to find the centroid of this area?

I've attached a sample data set.

integration array.sm (3.05 KiB)已下载 1271 次。

#2 已发布: 2017/3/22 07:55:36
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

geometric solution

integration array.sm (11.73 KiB)已下载 1415 次。
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Ernesto 2017/3/23 21:18:00
#3 已发布: 2017/3/22 13:14:35
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

That's perfect!!

Thanks for your help!
#4 已发布: 2017/3/22 13:18:39
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

or I can add original "trapz" function to the matlab plugin if you really need this.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 已发布: 2017/3/22 13:22:56
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Thanks but this is more than sufficient for my needs.

Regards.
#6 已发布: 2017/3/22 15:12:56
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Ernesto,

Your data set is not impressive. As is: it represents no physical phenomenon.
The way I see it is otherwise ... it looks the linear junctions can only
represent derivatives of quadratic. It suggests a polynomial fit [offered].
Is it a piece of wood ? the fence around the yard ?

Jean

integration array [option].sm (22.17 KiB)已下载 1102 次。
#7 已发布: 2017/3/22 15:29:50
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

@Jean

It is horizontal soil pressure vs depth
#8 已发布: 2017/3/23 10:29:54
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

@Jean

It is horizontal soil pressure vs depth



Thanks Ernesto, interesting.

You can complete and export your project,
in red at the end of the WS.

Jean

Polynomial fit QUARTIC Option.sm (26.24 KiB)已下载 1289 次。

  • 有新帖
  • 无新帖