reading ascii data

Ben Abbott bpabbott at mac.com
Tue Aug 5 12:59:24 CDT 2008


On Tuesday, August 05, 2008, at 12:29PM, "de Almeida, Valmor F." <dealmeidav at ornl.gov> wrote:
>
>Hello,
>
>I would like to read an ascii data file with 3 columns of integers
>separated by a space, and an unknown number of rows into 3 vectors or a
>matrix with 3 columns.

Try

     data = load ("-ascii",  "yourfile.txt")

Ben


More information about the Help-octave mailing list