Prev: Euclidean matrix distance
Next: dynamic matrix
From: giacomo reggiori on 14 Jun 2010 12:21 I have to create a matrix that can be continously updated with new lines, how can i do it?
From: James Tursa on 14 Jun 2010 12:30 "giacomo reggiori" <giacomoreggiori(a)gmail.com> wrote in message <hv5l19$avf$1(a)fred.mathworks.com>... > I have to create a matrix that can be continously updated with new lines, how can i do it? Please be more specific, and try to give an example. James Tursa
From: dpb on 14 Jun 2010 12:30 giacomo reggiori wrote: > I have to create a matrix that can be continously updated with new > lines, how can i do it? Matlab does that automagically w/ the ";" operator. Read "Getting Started" section on array manipulation and specifically doc vertcat But, note that if sizes of the array gets very large the performance of doing things in this manner will suffer (run slowly). If, at all possible, preallocate and fill rather than concatenate. --
|
Pages: 1 Prev: Euclidean matrix distance Next: dynamic matrix |