help-octave
[Top][All Lists]
Advanced

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

Re: Matlab to Octave - problem wih the conversion


From: Juan Pablo Carbajal
Subject: Re: Matlab to Octave - problem wih the conversion
Date: Thu, 4 Aug 2016 20:28:12 +0200

On Thu, Aug 4, 2016 at 3:33 PM, Istan <address@hidden> wrote:
> It returns me a data as follow :
>
> data =
>
>      0
>   1060
>      0
>   1060
>      0
>   1060
>      0
>   1061
>      0
>   1061
>      0
>   1062
>      0
>   1062
>      0
>   1063
>      0
>   1064
>      0
>
> Maybe something is wrong in my understanding of the file, that I upload here
> :  1.txt <http://octave.1599824.n4.nabble.com/file/n4679010/1.txt>
>
>
>
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Matlab-to-Octave-problem-wih-the-conversion-tp4678981p4679010.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave

Your file is already octave friendly (headers with "%" will be ignored
automatically). Just do
data = load("1.txt");

plot(data(:,1), data(:,2))



reply via email to

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