JohnyWalker
Mechanical
- Oct 5, 2012
- 3
Good morning everybody,
I started working with Mathcad about 2 weeks ago and it's working out pretty good so far. But yesterday I ran into a problem I could not solve:
I have an array "NAME" which consist of n (with current data n=9) subarrays, each with the dimension {1,5}. These subarrays contain all x-coordinates of a modell, so I have two more arrays that need to be handled the exact same way.
The subarrays of each array need to be writen into one array which: Doing this manually works with:
KOORDX:=augment(NAME0,NAME1,...........,NAME8)
As you can see, this becomes rather intricate (3x9 subarrays...) to handle, especially since the preceding calculations (11 pages in total) are fully parametric and so the number of subarrays varies with the input.
I tried implementing "augment" into a for-loop but I can't get it to work.
SORTING=FOR i element 0..(n-1)
Xi <- augment(NAMEi)
same with Y
same with Z
VECTOR <- (X,Y,Z)T
But doesnt return what I need.
I added a mathcad-file with my syntax and the problem...
I started working with Mathcad about 2 weeks ago and it's working out pretty good so far. But yesterday I ran into a problem I could not solve:
I have an array "NAME" which consist of n (with current data n=9) subarrays, each with the dimension {1,5}. These subarrays contain all x-coordinates of a modell, so I have two more arrays that need to be handled the exact same way.
The subarrays of each array need to be writen into one array which: Doing this manually works with:
KOORDX:=augment(NAME0,NAME1,...........,NAME8)
As you can see, this becomes rather intricate (3x9 subarrays...) to handle, especially since the preceding calculations (11 pages in total) are fully parametric and so the number of subarrays varies with the input.
I tried implementing "augment" into a for-loop but I can't get it to work.
SORTING=FOR i element 0..(n-1)
Xi <- augment(NAMEi)
same with Y
same with Z
VECTOR <- (X,Y,Z)T
But doesnt return what I need.
I added a mathcad-file with my syntax and the problem...