From: yulia hernawati on
hello,
I am Yulia.
I want to know, how to convert some matrix in a cell to be one matrix.
example:
I have a cell {1,3}. the cell consist of three matrix with size <10x24>,<10x24>,<10x24>
I want convert the cell to be a matrix which the size is <30x24>.
I also want to know about how we fit a linear curve.

thanks
From: Andy on
"yulia hernawati" <yuliahernawati(a)gmail.com> wrote in message <i1hu3m$nr2$1(a)fred.mathworks.com>...
> hello,
> I am Yulia.
> I want to know, how to convert some matrix in a cell to be one matrix.
> example:
> I have a cell {1,3}. the cell consist of three matrix with size <10x24>,<10x24>,<10x24>
> I want convert the cell to be a matrix which the size is <30x24>.
> I also want to know about how we fit a linear curve.
>
> thanks

A={rand(10,24); rand(10,24); rand(10,24)};
B=vertcat(A{:});
From: Walter Roberson on
yulia hernawati wrote:

> I want to know, how to convert some matrix in a cell to be one matrix.
> example:
> I have a cell {1,3}. the cell consist of three matrix with size
> <10x24>,<10x24>,<10x24>
> I want convert the cell to be a matrix which the size is <30x24>.

See cell2mat()

> I also want to know about how we fit a linear curve.

See mldivide()
From: dpb on
Walter Roberson wrote:
> yulia hernawati wrote:
>
....

>> I also want to know about how we fit a linear curve.
>
> See mldivide()

And

doc polyfit

--