Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a New Array from a Different Array

Status
Not open for further replies.

DoubleA70

Mechanical
Apr 9, 2011
4
Hello,
I have an array of 1048320 rows (let's call it P) and I need to do the following operations (I have tried a few things but my MathCAD knowledge is rusty)

I need to create a new array with 720 rows (let's call it Q). The first row in Q will be the summation of rows 0,720,1440... from P. The second row in Q will be the summation of rows 1,721,1441... from P. And so on for all 720 rows in Q.

Like I said, my MathCAD knowledge is pretty rusty so I wasn't able to figure out a program. If anyone can lend some advice it would be GREATLY appreciated. Thanks!!
 
Replies continue below

Recommended for you

No programming needed, just a formula.

n:1;720
P[n:Q[...+Q[...+

 
@DoubleA70: Before I get into this (work involved), why would anybody want to do this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor