 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: How to fill a column of a matrix?
| [mathcad] Re: How to fill a column of a matrix? |
|
Author: Andy Spragg
Posted: Tue, 17 Jan 2006 16:20:12 +0000
|
Unless I misunderstand the question .... Ctrl-6 inserts a column index
placeholder (angle brackets). Been there since v6 (the version at which
when I started using Mathcad). So define A, then use Ctrl-6 to say A<2> =
V. Andy
Marc Artzrouni "marc.artzrouni"
17/01/2006 13:52
Please respond to
"mathcad"
To
Mathcad Discussion List "mathcad"
cc
Subject
[mathcad] How to fill a column of a matrix?
MathCad has several clever "vectorization-type" capabilities - but
there is one simple thing I can't find. Suppose
I have a 3 by 3 matrix A and I want to put in the second column some
other column vector V. how can I do that
in one fell swoop without having to write a silly loop? "Augment" and
"stack" don't help. It would be something like the submatrix function,
except that submatrix works only to extract a submatrix - not to write
into one. Using the same idea as submatrix
one could imagine a "submatrixin" function like
submatrixin(A, 1,3,2,2) = V that would put V in the second
col of A.
Could there be something like that in recent versions that I don't have
in MathCad2001i?
Many thanks
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: "marc.artzrouni"
**********************************
****************************************************************
Any opinions expressed in this email are those of the individual and not necessarily of RHM plc and/or any of its subsidiaries.
This email and any files transmitted with it are private, may be confidential and are for the intended recipient only. If you are not the intended recipient, be advised that you have received them in error. Please notify the sender of the error, delete all copies of them from your system and destroy any printed copies.
If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this email and any files transmitted with it.
Please rely on your own anti-virus system. No responsibility is taken by RHM plc and/or any of its subsidiaries for any damage arising out of any bug or virus infection.
****************************************************************
|
[View Complete Thread]
Previous by date: [mathcad] Re: DSP method, Eden Mei
Next by date: [mathcad] Re: DSP method, Oakley, Philip SELEX UK
Previous thread: [mathcad] How to fill a column of a matrix?, Marc Artzrouni
Next thread: [mathcad] Re: DSP method, David Burton
|
|
|