help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

textread...read first and last row


From: turbofib
Subject: textread...read first and last row
Date: Sat, 16 Mar 2019 06:18:53 -0500 (CDT)

hi,
look that 

01/04/2008 0.00000 0 0.00000 0.00000 0
02/04/2009 -600.00000 0 0.00000 931.25000 1
03/04/2010 750.00000 1 0.00000 1362.50000 2
04/04/2011 12.50000 1 -18.75000 1000.00000 2
05/04/2012 0.00000 0 0.00000 0.00000 2
06/04/2013 -256.25000 1 12.50000 343.75000 2
07/04/2014 -6.25000 1 0.00000 575.00000 2
08/04/2015 -1100.00000 0 12.50000 1556.25000 2

i want catch the first and the last row with textread (i want catch only
date)

the number of lines is not fixed

here i catch the first row (year 2008)
[datInizio]=textread (nomeFileDaEsaminare, "%s ",1);

how can i code to catch the last row?(year 2015)

thank to help me



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]