|
From: | David Bateman |
Subject: | Re: num2cell |
Date: | Tue, 13 Sep 2005 06:01:44 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Tom Holroyd a écrit :
Thanks... Will do the same... John do you want this in octave or should I leave it in octave-forge?In matlab,num2cell('hello')ans = 'h' 'e' 'l' 'l' 'o' As for structs, >> moo moo = a: 4 b: 6 >> a = num2cell(moo); >> a{1}.a ans = 4
D. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |