From: Li on
I have a huge txt file with a large 1*n (1 row and many many columns) matrix. It contains grid data of a spatial distribution.

Which function should I use to read the data into Matlab?

Thanks.
From: dpb on
Li wrote:
> I have a huge txt file with a large 1*n (1 row and many many columns)
> matrix. It contains grid data of a spatial distribution.
> Which function should I use to read the data into Matlab?
> Thanks.

Probably start with

textscan()

help iofun

will give you a list of io functions; look at the various options for
text files specifically to see which suits your data format.

--
From: Li on
Thank you very much.

I will try it now.

dpb <none(a)non.net> wrote in message <i3a00n$3eb$1(a)news.eternal-september.org>...
> Li wrote:
> > I have a huge txt file with a large 1*n (1 row and many many columns)
> > matrix. It contains grid data of a spatial distribution.
> > Which function should I use to read the data into Matlab?
> > Thanks.
>
> Probably start with
>
> textscan()
>
> help iofun
>
> will give you a list of io functions; look at the various options for
> text files specifically to see which suits your data format.
>
> --