Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Building a matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132733] Building a matrix
  • From: Bruno Campanini <brunocam at libero.it>
  • Date: Mon, 19 May 2014 02:03:51 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • Reply-to: brunocam at libero.it

Given:

m = [0,0,0}
n = {1,2,3}

how can I get a function to give:

{{1,2,3,0,0,0,0,0,0}, {0,0,0,1,2,3,0,0,0}, {0,0,0,0,0,0,1,2,3}}

???

Bruno



  • Prev by Date: Re: DSolve test
  • Next by Date: Re: Numerical solution from Module
  • Previous by thread: Re: Compiler output type
  • Next by thread: Re: Building a matrix