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 1993

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

Search the Archive

Re: Matrix Operations in Mma

  • To: mathgroup at
  • Subject: Re: Matrix Operations in Mma
  • From: beau at (Andrew B. Watson)
  • Date: Wed, 13 Oct 93 10:06:29 PDT

Following up on

>> How can I assign a matrix to a part of another matrix

A crude solution, used in the context of pasting one image into another.
Note that no error checking is done. "point" is the {row,col} coordinates
of the starting point of the insert.

pasteImage[imagesink_,imagesource_,point_List:{1,1}] :=
	{irows,icols} = Dimensions[imagesink];
	{rows,cols} = Dimensions[imagesource];
	{row,col} = point;

Andrew B. Watson
MS 262-2 NASA Ames Research Center
Moffett Field CA 94035-1000
(415) 604-5419 -3323 fax
beau at

  • Prev by Date: Re: interrupting
  • Next by Date: Re: automatic coefficient / summand extraction
  • Previous by thread: Re: Matrix Operations in Mma
  • Next by thread: Polar coordinates