Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Apr 9, 2011
Messages
4
Location
US
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!!
 
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

Back
Top