Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Making rectangular matrix

  • To: mathgroup at
  • Subject: [mg27154] Re: Making rectangular matrix
  • From: Roland Franzius <Roland.Franzius at>
  • Date: Thu, 8 Feb 2001 04:40:42 -0500 (EST)
  • Organization: Universitaet Osnabrueck
  • References: <95qt5s$>
  • Sender: owner-wri-mathgroup at

To multiply  matrix elements of a given matrix A by another matrix B use


Use A[[i,k]]=B  for direct placement

To convert a block matrix into a normal matrix obeying matrix
multiplication use something like

tensorProduct[a_, b_] :=
    Flatten[Map[Transpose, Outer[Times, a, b]]],
    Length[a] Length[b]] 

jeevan wrote:
> How  can I make a square or rectangle matrix(2-D) that can be placed
> at random locations of a bigger 2-D matrix.Thank you.

Roland Franzius

  +++ exactly <<n>> lines of this message have value <<FALSE>> +++

  • Prev by Date: Re: Making rectangular matrix
  • Next by Date: strange behavior
  • Previous by thread: Re: Making rectangular matrix
  • Next by thread: Re: Re: Factor[1+x^4]