Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

create mxn matrix from two lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33645] create mxn matrix from two lists
  • From: "Ravinder Kumar B." <ravi at crest.ernet.in>
  • Date: Thu, 4 Apr 2002 19:40:09 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

 I would like to know how to create mxn matrix from two lists of
 length m &n. For example
        A={1,2,3,4};
        B={a,b,c,d};

All I need is new List or 4x4 matrix of the form
C=[{(1,a),(1,b)(1,c),(1,d)},{(2,a),(2,b)(2,c),(2,d)},{(3,a),(3,b)(3,c),(3,d)},
{(4,a),(4,b)(4,c),(4,d)}]

Your Kind response is awaited eagerly
-- 
    Lovingly,                                   Apr 4
    Ravi





  • Prev by Date: Solve-Problem!
  • Next by Date: needs, get, <<
  • Previous by thread: RE: Solve-Problem!
  • Next by thread: Re: create mxn matrix from two lists