Programming Question: How do you augment one matrix with another?
|
07-02-2014, 02:58 PM
Post: #5
|
|||
|
|||
RE: Programming Question: How do you augment one matrix with another?
I would do it in the following way:
1. Horizontally: concat works fine. 2.Vertically: I would write small prog. named augment (name not in the catalog) and augment means: enlarge or increase or grow or intensify, you can probably assume that it is in vertical direction. In the prog. augment, if you want, you could check if no. of cols. are the same etc. and the following would do the job: transpose(concat(transpose(m1),transpose(m2))); |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)