load numbers from a txt file

Jean-Marie Bonnaz jmbonnaz at gmail.com
Sun Dec 30 09:59:05 CST 2007


Hello


I am a complete beginner with octave and I have some problems. I usually run
Matlab but I try to learn Octave.
My problem is :
I would like to read numbers in a text file (file.txt). In this file there
are only numbers, spaces ... and no text.
The numbers are arranged in columns and columns are separated by one space.

I don't know how to read this file with Octave in order to load the numbers
in a matrix.

With Matlab I use the function 'read' but I don't know what is the
equivalent function in Matlab.


Thank you if you could help me.


Jean-Marie (France)

-- 
Jean-Marie BONNAZ
jmbonnaz at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20071230/96854435/attachment.html 


More information about the Help-octave mailing list