[Top][All Lists]

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

Importing data problems

From: John W. Eaton
Subject: Importing data problems
Date: Tue, 29 Sep 2009 12:22:11 -0400

On 29-Sep-2009, s4y wrote:

| Hello, i can't load my file into octave.
| It lokks like this:
| time temperature1 temperature2
| 16:15:07 15,3 32,4
| 16:15:17 15,6 45,4
| 16:15:27 17,5 56,6
| First of all there is a problem with the commata. Is it possible to load it
| without changing the original file. Further the time value including " : "
| creates an error. And i dont know how to erase the text line in the imported
| file.

Read it with fopen and some combination of fscanf or fgetl+conversion
to whatever data types you need.

Or, take a look at the textread function from the Octave Forge io


reply via email to

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