Hi Arturo: I think you want 'append':
$c = $a->append($b); or $c = append($a, $b); This or something like it should work. Regards, Doug Hunt [email protected] Software Engineer UCAR - COSMIC, Tel. (303) 497-2611 On Mon, 9 Apr 2012, 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
