Author: Marc Artzrouni
Posted: Tue, 14 Mar 2006 10:46:17 +0100
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
"Our work ranges from complex medical imaging research to large-scale mapping and diagrams and we need a tool that is able to handle anything we investigate. With Mathcad, we are able to manipulate and analyse our data quickly while at the same time documenting our work, for sharing and publication. We also use it for pilot studies conducted in support of research grant applications. It is an end-to-end tool for research and development." Dr. Kenneth Castleman, President of Advanced Digital Imaging Research (ADIR), Houston, Texas
"Mathcad is an integral product for my work... With Mathcad, itís easy to disseminate design calculations because the documents look like real math. Thereís very little I canít do in Mathcad. The main benefits come from the format, which resemble a typed set of calculations. These programs are easier to develop by engineers and easier for others to follow and review since the logic is expressed in a familiar manner. The format is what places Mathcad head and shoulders above other programs of a similar function." Andre Pavlov, Structural Engineer, Florida Department of Transportation