[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: entering tide data
From: |
Francesco Potortì |
Subject: |
Re: entering tide data |
Date: |
Thu, 29 Jan 2009 22:43:12 +0100 |
>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: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/