Kelvin Stott
Active Member
- Joined
- Oct 26, 2010
- Messages
- 338
Hello,
I have a N-dimensional array called "Data", where the number of dimensions N is variable...
How can I extract a 1-dimensional array from this, comprising all elements along the Xth dimension, which are the first element along all the other dimensions?
For example, this would be equivalent to taking the values along one edge of a cubic 3D array, by specifying one of the 3 dimensions as X.
Thanks indeed for any help.
Kelvin
I have a N-dimensional array called "Data", where the number of dimensions N is variable...
How can I extract a 1-dimensional array from this, comprising all elements along the Xth dimension, which are the first element along all the other dimensions?
For example, this would be equivalent to taking the values along one edge of a cubic 3D array, by specifying one of the 3 dimensions as X.
Thanks indeed for any help.
Kelvin
Last edited: