From: Wei He on 30 Jun 2010 06:07 "us " <us(a)neurol.unizh.ch> wrote in message <i0f40s$qtc$1(a)fred.mathworks.com>... > "Wei He" <Eric.he(a)hotmail.com> wrote in message <i0f349$9l$1(a)fred.mathworks.com>... > > "Wei He" <Eric.he(a)hotmail.com> wrote in message <i0f2jb$pqv$1(a)fred.mathworks.com>... > > > Hello, everyone. > > > > > > I generated a matrix 125*16 (matrix1). And then, I want to copy it for 50 time and connected to the end of the first matrix for 80 times in order to produce a 10000*16 (Matrix). > > > > > > To add it like this : Matrix = [matrix1;matrix;matrix;.....] is troublesome very much. > > > > > > Is there any convenient way to do it? > > > > > > Thanks in advance~!! > > > > > > Wei. > > > > I currently generate it like this: > > > > matrix = [matrix1;matrix1;matrix1;matrix1;matrix1;matrix1;matrix1;matrix1;matrix1;matrix1]; > > > > matrix = [matrix;matrix ;matrix ;matrix ;matrix ;matrix ;matrix ;matrix ]; > > > > > > it still seems not convenient. Is there any fucntion that could define the a specific number of the times? > > did you take the time to read what was told you above(?)... or are you simply repeating your OP without reflection... > > us Hi, us, I tried repmat, It could work, thanks!! there is some delay of the thread, I didn't notice your reply before I sending the new one. Wei.
First
|
Prev
|
Pages: 1 2 Prev: Improving the condition number of rectangular matrix Next: problem with CDR calculation |