 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] RE: filling a matrix
| [mathcad] RE: filling a matrix |
|
Author: Pergande, Albert N
Posted: Tue, 14 Mar 2006 08:41:44 -0500
|
Extract the parts of A you want to save with sub matrix, and stack or augment them onto B.
Al Pergande
Senior Radar Engineer
Lockheed Martin Missiles and Fire Control
MP 200
5600 Sandlake Road
Orlando, Fl 32819
Voice 407-356-5169
Fax 407-356-0933
/>
for personal mail - />
-----Original Message-----
From: Marc Artzrouni
Sent: Tuesday, March 14, 2006 4:46 AM
To: Mathcad Discussion List
Subject: [mathcad] filling a matrix
I have a matrix A of dim say 10 by 10; I want to fill the submatrix of A from row 2 to row 4 and col 3 to 7 with a matrix B of the correesponding dimension (i.e. 3 by 5). In other words put B in A, from row 2 to row 4 and col 3 to 7. Is there a way I can do that " vectorally" , without having to write a double loop? (I need something like the submatrix function, but for input purposes - submatrix only extracts data).
Many thanks if someone can think of a way of doing that.
Marc Artzrouni
--
Marc Artzrouni
Département de Mathématiques (IPRA)
Université de Pau - BP 1155
64013 Pau Cedex
FRANCE
Home page/page perso:
http://www.univ-pau.fr/~artzroun/
**********************************
tel: + 33 - (0)5 59 40 75 50
fax: + 33 - (0)5 59 40 75 55
e-mail: />
**********************************
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
|
Previous by date: [mathcad] RE: SV: RE: All possible pairings of two sets of
complex varaibles, Bill E Dumke
Next by date: [mathcad] RE: All possible pairings of two sets of complex varaibles, Pergande, Albert N
Previous thread: [mathcad] SV: filling a matrix, Gundermann, Jesper
Next thread: [mathcad] Re: All possible pairings of two sets of complex varaibles, Chris Whitford
|
|
|