help-octave
[Top][All Lists]
Advanced

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

csv file problem to open


From: mrodrig
Subject: csv file problem to open
Date: Mon, 18 Feb 2019 06:35:23 -0600 (CST)

Hello,

I am new with Octave. I am traying to open a file (attached) and I found
many problems to open.

I tried to open with the comand csvread but it open part of the information. 

I also traied with csv2cell but I open in the following way 

0,02    -0,124  -0,293 ...
0,04    -0,116  -1,904 ...
0,06    -0,101  -2,690 ...
0,08    -0,101  -0,250 ...
0,10    -0,093  2,450 ....
.........................

after that I try the following

c=csv2cell("Test1.csv",";");
t=c(:,1);
x1=c(:,2);
plot (t,x1)
error: plot: no data to plot
error: called from
    __plt__ at line 122 column 11
    plot at line 223 column 10



Could you help me?

Test1.csv <http://octave.1599824.n4.nabble.com/file/t372706/Test1.csv>  



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



reply via email to

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