Equality results when using a matrix of strings
<p>I don't understand why using <code>==</code> to compare between a string vector and a matrix of strings and the vector is of dimension <code>n</code>, I obtain a matrix of size <code>n * n</code>. I expected it to be of size <code>n</code> only, with a 1 when the string is equal. </p>

<pre><code>octave:13&gt; t = ["aha";"bgb";"ctc"]
t =

aha
bgb
ctc

octave:14&gt; t == "aha"
warning: mx_el_eq: automatic broadcasting operation applied
ans =

   1   1   1
   0   0   0
   0   0   0
</code></pre>

<p>What's going on underneath to explain such result ?  And is it possible to do away with the warning: <code>warning: mx_el_eq: automatic broadcasting operation applied</code> ?</p>

<p>For example, with a vector of integers, it behave like I expect:</p>

<pre><code>octave:16&gt; t2 = [1,2,2,3,4]
t2 =

   1   2   2   3   4

octave:17&gt; t2 == 4
ans =

   0   0   0   0   1
</code></pre>