From: Jacob Mick on 6 Jul 2010 18:08 "Jacob Mick" <jam7w2DELETETHISTEXT(a)mail.missouri.edu> wrote in message <i108eu$jhc$1(a)fred.mathworks.com>... > I have two matrices. > > A= 1x400 > 9,10,12,etc... > > B= 400x400 > val = > (9,9)=56 (10,9)=53 (12,9)=2, etc... > > How would I output a matrix C that is like B, except with the order of A, i.e. > > C=(1,1)=56 (2,1)=53 (3,10)=2, etc... > > > I've tried looking everywhere for help, it seems like there's a simple solution I'm overlooking. > > Please help! Supposed to be C=(1,1)=56 (2,1)=53 (3,1)=2, etc...
|
Pages: 1 Prev: deaingl with dates stored as 'double' integers Next: Is it possible to vectorize this? |