- #36
nasser_abbasi
- 2
- 0
wrongusername said:Perhaps it's just my own stupidity, but I've just tried Mathematica out and I still haven't found a way to augment 2 matrices A and B together, which in Matlab would have been simply been [A B].
use the Join[] command
a = RandomInteger[10, {3, 3}]
b = RandomInteger[10, {3, 3}]
c = Join[a, b, 2]
The '2' in Join, means to join them side-by-side horizontally.
To Join them on top of each others, use '1' in place of '2'.
--Nasser