A = [1,2,3;4,5,6]Notice that a semicolon is used to separate the two rows. You can enter the column vector
B = [7;8]Now suppose you want the augmented matrix . You can enter it like so:
[A,B]Notice the use of a comma to tack on a new column. If you were appending a row to a matrix, you'd use a semicolon instead.