Question: Convert a lower dimension matrix to higher dimension by columns only

If i matrix of order

m1 cross n1


other of order

m2 cross n2

and say n1 >n2 

The function change(A,B) and make the matrices of order m1 cross n1 and m2 cross n1 by appending zero columns to the other where n2 is the smaller one to make it n1=n2

Please Wait...