"Michael " <email@example.com> wrote in message <firstname.lastname@example.org>... > > Which all work properly when I ask MATLAB what they are.. (e.g. SW = row vector of 1's and 0's, and likewise for NW and NE). Here's the messed up part... I can try > > all_counts(1,:) --- this gives a 29-by-1 column of data (good!) ===============
I think you really meant to write all_counts(:,1). What you've written would have extracted a 1x8 row.
> all_counts(SW,:) --- this gives all data from the Southwest source position (which is what I want) > > ...but when I try: > all_counts(NW,:) > I get: > Index exceeds matrix dimensions. > > What is going on here? =====================