[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort fieldnames of a struct when transposed?
From: |
John W. Eaton |
Subject: |
sort fieldnames of a struct when transposed? |
Date: |
Tue, 23 Jun 2009 09:42:48 -0400 |
On 23-Jun-2009, Thorsten Meyer wrote:
| is it intentional (maybe a compatibility feature?), that the fieldnames of a
| struct (array) are sorted, when it is transposed with ' or .'?
|
| e.g.:
| x=struct(cellstr(char(floor(rand(1000,10)*24+65))){:})
| x=x'
No, the order of field names should not change when a structure array
is transposed.
jwe