octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33334] Concatenation cell strings and strings


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #33334] Concatenation cell strings and strings
Date: Wed, 18 May 2011 03:24:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Follow-up Comment #3, bug #33334 (project octave):

Apparently not: (same Matlab)
>> s = {'s1'};             
>> s = [s; 's2'; 's3']     

s = 

    's1'
    's2'
    's3'

>> sx = ['sx']

sx =

sx

>> whos
  Name      Size            Bytes  Class    Attributes

  s         3x1               348  cell               
  sx        1x2                 4  char               

>> sy = s(2)

sy = 

    's2'

>> whos
  Name      Size            Bytes  Class    Attributes

  s         3x1               348  cell               
  sx        1x2                 4  char               
  sy        1x1               116  cell               

>> 
=================================
This seems a bit odd.  Does it help?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33334>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]