help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vectorise matrix slice extraction


From: Francesco Potorti`
Subject: vectorise matrix slice extraction
Date: Fri, 27 Feb 2009 14:59:04 +0100

Is there a way to efficiently remove the for loop in this assignment?

  for jj = length(pple):-1:1
    llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj));
  endfor

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]