entering tide data
Francesco Potortì
Potorti at isti.cnr.it
Thu Jan 29 15:43:12 CST 2009
>Here is a sample of the data: I made a mistake earlier, the date is numbered
>by the day (365).
>
>2007022+0030 0.231
>2007022+0100 0.238
>2007022+0130 0.235
>2007022+0200 0.234
This one does the job:
fid = fopen("tide.txt");
tide = fscanf(fid, "%*d+%*d%f");
fclose(fid);
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
More information about the Help-octave
mailing list