- dog will add a new dimension - append will extend along the last dimension - glue will let you choose which dimension to extend
On Apr 9, 2012, at 1:35 PM, Arturo Narros wrote: > Hi experts , > > here is my question: > I have 2 2d-matrix (piddles): A and B, A dim = [10, 50] and B dim = [10,100] > I want to create a new matrix (piddle) C that join A and B so I can get > the dimension 10x150. > > Since I did not find any function to do it easy, > I was doing like > $x = pdl [ $a,$b ] > $C = $x->clump(1,2) > > but I get a matrix 10x200 where some zeros are added to complete the > dimension of the smaller. > > Any idea? > Thanks in advance. > > > ----------------------------------------------------------------- > Dr. Arturo Narros González > Zimmernummer: 3020 > Fakultät für Physik der Universität Wien > COMPUTATIONAL PHYSICS > Sensengasse 8/10 > A-1090 Wien (Vienna) > Österreich (Austria) > > Tel: 0043 (0)1 4277 73237 > Fax: 0043 (0)1 4277 73239 > email: [email protected] > http://physik.univie.ac.at/index.php?id=1238&singleid=753&origin=1045 > > --------------------- Postal Address ---------------------- > Dr. Arturo Narros Gonzalez > Fakultät für Physik der Universität Wien > COMPUTATIONAL PHYSICS > Zimmernummer: 3020 > Boltzmanngasse 5 > 1090 Wien > A-1090 Wien (Vienna) > Österreich (Austria) > ----------------------------------------------------------------- > > > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
