Numerical Integration of Data Set

Numerical Integration of Data Set - Numerical Integration of Data Set - Messaggi

#1 Pubblicato: 22/03/2017 05:22:47
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: 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) scaricato 1261 volta(e).

#2 Pubblicato: 22/03/2017 07:55:36
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

geometric solution

integration array.sm (11,73 KiB) scaricato 1401 volta(e).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 utenti hanno apprezzato questo post
Ernesto 23/03/2017 21:18:00
#3 Pubblicato: 22/03/2017 13:14:35
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: User

That's perfect!!

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

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

Ernesto

13 apprezzamenti in 74 post.

Gruppo: User

Thanks but this is more than sufficient for my needs.

Regards.
#6 Pubblicato: 22/03/2017 15:12:56
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1077 volta(e).
#7 Pubblicato: 22/03/2017 15:29:50
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: User

@Jean

It is horizontal soil pressure vs depth
#8 Pubblicato: 23/03/2017 10:29:54
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1267 volta(e).

  • Nuovi post
  • Nessun nuovo post