|
From: | John W. Eaton |
Subject: | Re: Indexing with "string" values in Matlab |
Date: | Fri, 25 Oct 2013 12:56:38 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
On 10/25/2013 12:47 PM, Richard Crozier wrote:
Name Size Bytes Class Attributes ans 1x4 32 double x 1x100 800 double y 1x68 136 char >> fprintf(1, '%d', y) 00000000000000000000000000000000000000000000000000000000000000004951525 >> clear y y('adbc') = '1234'; abs (y) ans = Columns 1 through 7 0.0000e+000 0.0000e+000 0.0000e+000 0.0000e+000 0.0000e+000 0.0000e+000 0.0000e+000
Interesting, so it is displaying NUL as a blank? Does that happen for any other character values less than 32? How is
char (0:32) displayed? jwe
[Prev in Thread] | Current Thread | [Next in Thread] |