Numerical Integration of Data Set

Numerical Integration of Data Set - Numerical Integration of Data Set - Messages

#1 Posted: 3/22/2017 5:22:47 AM
Ernesto

Ernesto

13 likes in 74 posts.

Group: 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 KiB) downloaded 76 time(s).

#2 Posted: 3/22/2017 7:55:36 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

geometric solution

integration array.sm (11 KiB) downloaded 148 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Ernesto 3/23/2017 9:18:00 PM
#3 Posted: 3/22/2017 1:14:35 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

That's perfect!!

Thanks for your help!
#4 Posted: 3/22/2017 1:18:39 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

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

Ernesto

13 likes in 74 posts.

Group: User

Thanks but this is more than sufficient for my needs.

Regards.
#6 Posted: 3/22/2017 3:12:56 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 61 time(s).
#7 Posted: 3/22/2017 3:29:50 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

@Jean

It is horizontal soil pressure vs depth
#8 Posted: 3/23/2017 10:29:54 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 64 time(s).

  • New Posts New Posts
  • No New Posts No New Posts