From: Layan on 24 May 2010 17:54 I want to know if the CAT function copies the two matrices into a new one when concatenating or it does by reference or by using pointers?
From: Walter Roberson on 24 May 2010 18:09 Layan wrote: > I want to know if the CAT function copies the two matrices into a new > one when concatenating or it does by reference or by using pointers? The only case it could do it using pointers to the memory block is if all but one of the matrices are empty. There is no internal way in Matlab to create an array via a group of pointers or references to data blocks: Matlab strictly uses contiguous memory for numeric arrays (except sparse ones.)
|
Pages: 1 Prev: FORUM USERS ON THE FORUM... Next: MPC design for linear state space model with time constrain |