The Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math

Topic: [?] Creating a matrix out of a submatrix in Maple and MMA
Replies: 2   Last Post: Jun 17, 1996 5:06 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jonathan Newman

Posts: 1
Registered: 12/12/04
Re: [?] Creating a matrix out of a submatrix in Maple and MMA
Posted: Jun 13, 1996 3:02 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



Francisco,

to reproduce your example you can do the following:

with(linalg):

B:=
matrix([[1,3,2,5,5],[3,4,5,6,4],[4,5,1,2,3],[4,5,7,8,9],[3,4,1,8,7]]);

A:= matrix(5,5,0);

copyinto(submatrix(B,4..5,4..5),A,4,4);



Dr. J. A. Newman, Dept. of Zoology, Southern Illinois University,
Carbondale, IL 62901-6501, tel (618) 453-4136, fax (618) 453-2806








Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.