Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Combine two matrices
Replies: 3   Last Post: Feb 3, 2014 3:04 PM

 Messages: [ Previous | Next ]
 Milos Milenkovic Posts: 189 Registered: 4/4/09
Combine two matrices
Posted: Feb 3, 2014 4:45 AM

Dear all,
how (for various sizes of A5 and A6) to make matrix A6 in which all rows with zeros are substituted by rows from A5. First and second of A5 are the second and third of A6, Third and fourth of A5 are fifth and sixth of A6, Fifth and sixth of A5 are eighth and ninth of A6.

A5 =
-1 0 0 0 0 0 0 0 0 0 0 0
0 -1 0 0 0 0 0 0 0 0 0 0
0 0 -1 0 0 0 0 0 0 0 0 0
0 0 0 -1 0 0 0 0 0 0 0 0
0 0 0 0 -1 0 0 0 0 0 0 0
0 0 0 0 0 -1 0 0 0 0 0 0
>> A6
A6 =
-1 -1 0 0 0 0 -1 -1 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 -1 -1 0 0 0 0 -1 -1 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 -1 -1 0 0 0 0 -1 -1
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0

Date Subject Author
2/3/14 Milos Milenkovic
2/3/14 dpb
2/3/14 dpb
2/3/14 Milos Milenkovic