[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Patch Re: iterating cell arrays
From: |
Hall, Benjamin |
Subject: |
RE: Patch Re: iterating cell arrays |
Date: |
Thu, 24 Jun 2004 17:07:25 -0400 |
Now I understand...this is much more confusing! But it's the behavior
hasn't changed since R11...this is what I get in R14:
a(:,:,1) =
0.9501 0.6068
0.2311 0.4860
a(:,:,2) =
0.8913 0.4565
0.7621 0.0185
j =
0
0
0.9501
0.2311
1
0.6068
0.4860
2
0.8913
0.7621
3
0.4565
0.0185
>>
-----Original Message-----
From: David Bateman [mailto:address@hidden
Sent: Thursday, June 24, 2004 4:56 PM
To: address@hidden
Subject: RE: Patch Re: iterating cell arrays
Err, I suppose I wasn't clear. The test cases I gave for R12 was one
that gave a sensible result. Rather what does
a = rand(2,2,2)
j=0
for i = a
disp(j);
j=j+1;
disp(i);
end
give under R13 or R14
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary