From: William P. Y. H. <wil...@gm...> - 2005-12-09 10:29:02
|
On 12/9/05, David Bateman <Dav...@mo...> wrote: > >Yes, I also think the above should work (logical -> numeric). Also, I > >think char arrays should be allowed (using ascii). What do you think? > > > > > > > Promotion of type is implicit in the concatenation operation. If cat > allows it so should cell2mat in my opinion. Therefore just letting cat > generate the error messages for an illegal concatenation of types makes > sense to me, as it will report the two offending types in the > concatenation operation. I believe this means that cell2mat needs no > changes... > OK, so I wouldn't have to change the inner workings of cell2mat.m. But I've modified the license string ("This program" -> "Octave") and coding style to better match Octave's coding style, so I would need Laurent to approve it (is his email correct?). -- William Poetra Yoga Hadisoeseno |