[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Read file in Octave
From: |
piranha007 |
Subject: |
Read file in Octave |
Date: |
Fri, 12 Feb 2016 08:43:42 -0800 (PST) |
I need to read a data file into Octave which may have different numbers of
elements in each line, whilst retaining the line separation.
e.g. Read in:
1 2 3 4 5
6 7 8 9
1 2 3
4 5 6 7 8
how use scanf to have something like :
1 2 3 4 5
6 7 8 9 0
1 2 3 0 0
4 5 6 7 8
--
View this message in context:
http://octave.1599824.n4.nabble.com/Read-file-in-Octave-tp4674775.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Read file in Octave,
piranha007 <=