Message Boards Message Boards

0
|
3961 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Peaks calculation over distance

Posted 2 years ago

Dear All, I ask your help for a problem that I have.

I have two lists, as below:

POSP={1,1.9,2.5,3,10} 

VALP={1,3,2,3,1} 

I need to calculate the sum of the element in VALP within a mobile window running on POSP. For example, if the window is 1 (on POSP), I need an aswer like that:

ANSW={4,5,5,3,1}

POSW={1,1.9,2.5,3,10}

ANSW is the sum of the element of VALP contained in the window moving on POSP.

Sorry for the confusion.....

Thank you and best regards

POSTED BY: Bruno Vusini
2 Replies
Posted 2 years ago

Thank you Markus.

POSTED BY: Bruno Vusini

POSTED BY: Markus van
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract