Joining arrays
CLOSE Dave
Dave.Close at us.thalesgroup.com
Tue Jun 23 19:14:35 CDT 2009
I started working with Octave only about a month ago but I'm still
confused. I can't seem to find the right way to do something which ought
to be pretty simple. I want to join two arrays to make a bigger array.
That is, given arrays A and B like,
A = a b c B = 1 2 3
d e f 4 5 6
g h i 7 8 9
I want to create array C like,
C = a b c 1 2 3
d e f 4 5 6
g h i 7 8 9
(I'm using letters to stand for numbers, not as strings. It's just to
keep my example to single characters.)
What I keep getting is an array of arrays,
C(1) = a b c C(2) = 1 2 3
d e f 4 5 6
g h i 7 8 9
What simple operation am I missing?
More information about the Help-octave
mailing list