Say you have an array of elements from 0-30 as input.
Use Select and select { 0 .. 29 } and another Select of { 1 .. 30 }.
Feed both of these into a Compute with an expression of b-a. Now you
have your array you need.
David
I have 3D data that I have extracted just the z positions:
data -> Slice -> Slice -> Extract
So now I have an array containing just the z positions (the z positions
are the same given any x and y).
How do I access the individual elements of the array?
What I want to create is another array which contains the deltas between
the z positions. Something like:
for (i=0; i<n-1; i++)
deltas[i] = array[i+1] - array[i]
I can't figure out how to do this in DX.
Can someone help?
Thanks,
Betsy
--
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530