Created
March 16, 2015 10:50
-
-
Save SimonDanisch/c48e5e5bbe50f4da047f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#taken from http://www.tutorialspoint.com/matlab/matlab_matrix_concatenation.htm | |
a = [ 10 12 23 ; 14 8 6; 27 8 9] | |
10 12 23 | |
14 8 6 | |
27 8 9 | |
b = [ 12 31 45 ; 8 0 -9; 45 2 11] | |
12 31 45 | |
8 0 -9 | |
45 2 11 | |
c = [a, b] | |
10 12 23 12 31 45 | |
14 8 6 8 0 -9 | |
27 8 9 45 2 11 | |
d = [a; b] | |
10 12 23 | |
14 8 6 | |
27 8 9 | |
12 31 45 | |
8 0 -9 | |
45 2 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment