Blockmatrix
|
09-26-2016, 07:27 AM
(This post was last modified: 10-09-2016 02:18 AM by toshk.)
Post: #1
|
|||
|
|||
Blockmatrix
Blockmat(2,3, {A,B,C,D,E,F})--> [A B C; D E F]
Blockmat(3,2, {A,B,C,D,E,F})--> [A B; C D; E F] Blockmat(1,6, {A,B,C,D,E,F})--> [A B C D E F] A, B, C, D, E, F are matrices of equal dimensions. Code:
|
|||
09-26-2016, 04:33 PM
Post: #2
|
|||
|
|||
RE: Blockmatrix
Isn't there already a command that does this (list2mat)?
Graph 3D | QPI | SolveSys |
|||
09-26-2016, 06:12 PM
(This post was last modified: 09-26-2016 06:18 PM by toshk.)
Post: #3
|
|||
|
|||
RE: Blockmatrix
if matrix A= [1 2; 3 4] and B =[5 6; 7 8]
to block A and B into 2*1 is C=[A;B]=[1 2; 3 4;5 6;7 8] list2mat will block it to C=[[A],[B]]=[[1 2; 3 4];[5 6; 7 8]] with extra brackets if you have matrices A,B,C,D to be block into 2*2 matrix A,B need to augmented, C ,D need to augmented---> CONCAT in hp prime then the first has to stack on the later---> no STACK in hp prime; that's what my code does... |
|||
09-28-2016, 05:55 PM
Post: #4
|
|||
|
|||
RE: Blockmatrix
I see now; this little program is quite useful.
Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)