| MATLAB Central > MATLAB Newsreader > index array with variable number of dimensions |
|
|
|
Subject: index array with variable number of dimensions From: scott Date: 10 Nov, 2008 19:58:02 Message: 1 of 7 |
|
I have a function where I allocate a multidimensional numeric array. The array dimensionality depends upon arguments passed to the function. I'd like to know if there is a way to flexibly index the array. |
|
Subject: index array with variable number of dimensions From: Loren Shure Date: 10 Nov, 2008 20:32:18 Message: 2 of 7 |
|
In article <gfa3oa$ej8$1@fred.mathworks.com>, |
|
Subject: index array with variable number of dimensions From: Walter Roberson Date: 10 Nov, 2008 20:34:19 Message: 3 of 7 |
|
scott wrote: |
|
Subject: index array with variable number of dimensions From: scott Date: 10 Nov, 2008 21:54:02 Message: 4 of 7 |
|
Walter Roberson <roberson@hushmail.com> wrote in message <YU0Sk.2513$lo6.2424@newsfe01.iad>... |
|
Subject: index array with variable number of dimensions From: Walter Roberson Date: 10 Nov, 2008 22:46:09 Message: 5 of 7 |
|
Loren Shure wrote: |
|
Subject: index array with variable number of dimensions From: Loren Shure Date: 11 Nov, 2008 14:00:52 Message: 6 of 7 |
|
In article <yQ2Sk.3011$Gm3.2484@newsfe01.iad>, roberson@hushmail.com |
|
Subject: index array with variable number of dimensions From: Walter Roberson Date: 10 Nov, 2008 20:15:50 Message: 7 of 7 |
|
scott wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| array | scott | 10 Nov, 2008 15:00:22 |
| multidimensiona... | scott | 10 Nov, 2008 15:00:22 |
| indexing | scott | 10 Nov, 2008 15:00:22 |
Contact us at files@mathworks.com
