Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: Combine Coloumn In Another Matrix
Posted:
Jun 10, 2014 6:14 AM


"Ellisa Dewi" <ell.fellix@gmail.com> wrote in message <ln66cc$ho5$1@newscl01ah.mathworks.com>... > Dear Everybody > > I have a problem. I have a matrix in size 35x50. This matrix contain of x and y coordinate. I want to combine all of coloumn which contain x coordinate in one coloumn of new matrix (eg.matrix A(:,1)), and combine all of coloumn which contain y coordinate in one coloumn of the same matrix (eg.matrix A(:,2) . I don't know, what the syntax to make it in matlab. Maybe it was so simple, but i really newbie here. I need your help. Thanks for the attention. > > Sincerely > Ellisa >
Read the Getting Started section in the ML help. B = [A(:,1) A(:,2)];
Barry



