Re: Matrices
- To: mathgroup at smc.vnet.net
- Subject: [mg82061] Re: Matrices
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 10 Oct 2007 05:17:24 -0400 (EDT)
- Organization: Uni Leipzig
- References: <fei2sd$qf3$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
MapThread[Set, {H, L}, 2]
Regards
Jens
KFUPM wrote:
> Dear Group
>
> I have two matrices
>
> H= {{a,b},{c,d}}
> and
> L ={{1,2},{3,4}}
>
> and I want the element "a" in matrix H to have the corresponding
> numerical values of L , i.e 1 and b --> 2 and so on. I am wondering
> how to do that in the simplest way possible? My actual matrices are
> larger than those i introduce here, i did that just for simplicity.
>
> Any help in this regard is highly appreciated.
>
>