From: Wei He on 30 Jun 2010 05:26 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.
From: us on 30 Jun 2010 05:32 "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. a hint: help repmat; us
From: Wei He on 30 Jun 2010 05:35 "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?
From: Wei He on 30 Jun 2010 05:49 Thanks, us~! I will try. "us " <us(a)neurol.unizh.ch> wrote in message <i0f2uj$iht$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. > > a hint: > > help repmat; > > us
From: us on 30 Jun 2010 05:50 "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
|
Next
|
Last
Pages: 1 2 Prev: Improving the condition number of rectangular matrix Next: problem with CDR calculation |