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: David Bateman
Subject: [Octave-bug-tracker] [bug #33334] Concatenation cell strings and strings
Date: Wed, 18 May 2011 21:16:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

Well if you want to know the results weren't what I was expecting. Why should
all three arguments be promoted to cell strings in the first example, but in
the third case only after the two strings are concatenated.. This seems like
another case of an adhoc matlab implementation.

In fact I now have another case that might be problematic. What does matlab
give for

['s1', {[1,1]}]
[{[1,1]}, 's1']

That is does the promotion of the strings only happen is the cell array
contains strings, or does the promotion always happen?

D.

    _______________________________________________________

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]