[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file where sep decimals is comma
From: |
Sebastian Kruk |
Subject: |
Re: file where sep decimals is comma |
Date: |
Fri, 23 Sep 2011 17:06:10 -0300 |
I have not tried it. Is there a way to change locales?
2011/9/23 Alasdair McAndrew <address@hidden>:
> Have you tried "fileread" - it returns the file as one long string which you
> can then parse with standard Octave commands.
>
> -Alasdair
>
> On Fri, Sep 23, 2011 at 11:13 PM, Sebastian Kruk <address@hidden>
> wrote:
>>
>> Hi, I have a csv file where sep is ";" and I have "," as decimal point.
>>
>> How I can import directly in Octave?
>>
>> An example:
>>
>> 1953;1453,6
>> 1954;1480,1
>> 1955;1576,4
>> 1956;1621,5
>> 1957;1655,3
>> 1958;1671,8
>> 1959;1751,7
>> 1960;1808,1
>> 1961;1845,6
>> 1962;1928,0
>> 1963;2001,9
>> 1964;2111,8
>> 1965;2229,8
>> 1966;2342,6
>> 1967;2410,6
>> 1968;2537,6
>> 1969;2631,6
>> 1970;2688,3
>> 1971;2787,1
>> 1972;2948,1
>> 1973;3071,5
>> 1974;3051,2
>> 1975;3117,6
>> 1976;3292,4
>> 1977;3457,4
>> 1978;3612,7
>> 1979;3710,2
>> 1980;3727,3
>> 1981;3801,8
>> 1982;3853,1
>> 1983;4036,7
>> 1984;4249,6
>>
>> Thanks,
>>
>> Sebastián.
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
>
> --
> Blog: http://amca01.wordpress.com
> Web: http://bit.ly/Alasdair
> Facebook: http://www.facebook.com/alasdair.mcandrew
>
- file where sep decimals is comma, Sebastian Kruk, 2011/09/23
- Re: file where sep decimals is comma, Alasdair McAndrew, 2011/09/23
- Re: file where sep decimals is comma,
Sebastian Kruk <=
- Re: file where sep decimals is comma, Marco Atzeri, 2011/09/23
- Re: file where sep decimals is comma, Leo Butler, 2011/09/23
- Re: file where sep decimals is comma, Bård Skaflestad, 2011/09/23
- Re: file where sep decimals is comma, Francesco Potortì, 2011/09/23
- Re: file where sep decimals is comma, Marco Atzeri, 2011/09/24
- Re: file where sep decimals is comma, Leo Butler, 2011/09/24
Re: file where sep decimals is comma, Przemek Klosowski, 2011/09/23