From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Regarding Matrrix Indexing
Date: Mon, 28 Nov 2011 16:37:53 -0600
Organization: NNTP Server
Lines: 16
Message-ID: <jb12fv$nlj$>
References: <> <jb0hh0$88l$> <> <jb0o04$r2i$> <jb0qbs$b8o$>
NNTP-Posting-Host: q89k+tsFpa0C/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20110616 Thunderbird/3.1.11
X-Notice: Filtered by postfilter v. 0.8.2
Xref: comp.soft-sys.matlab:750749

On 11/28/2011 2:19 PM, Roger Stafford wrote:
> dpb <> wrote in message <jb0o04$r2i$>...
>> So would
>> A(I)=1;
> - - - - - - - -
> I get what Nasser gets, dpb. My system treats the I elements as linear
> indices.

Yeah, that's "my bad" on that-there one, sorry.

It seems like it _should_ work...but doesn't.  Don't know precisely why 
TMW chose the implementation as they did of A(I(:)) instead of the 
literal meaning of the index array elements.