[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38317] textread & textscan give different res
From: |
Stig |
Subject: |
[Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave |
Date: |
Wed, 13 Feb 2013 18:33:40 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20130108 conkeror/1.0pre |
Follow-up Comment #5, bug #38317 (project octave):
I see. The columns were aligned when I copied the output from the program. I
thought the whitespace was removed by the software on this site because I
didn't use the verbatim markup (which I should have done).
This is what it really looks like:
>> textread('deaths.txt', '', 'headerlines', 3)
ans =
0 5.6900 4.3700
1.0000 0.5800 0.5900
2.0000 0.4300 0.4200
3.0000 0.3100 0.2900
4.0000 0.2300 0.2100
5.0000 0.1800 0.1500
6.0000 0.1500 0.1200
7.0000 0.1500 0.1000
8.0000 0.1500 0.1000
9.0000 0.1700 0.0600
10.0000 0.2000 0.0600
11.0000 0.1900 0.0800
12.0000 0.2000 0.0900
.
.
.
Just doing a test down here. If the columns below are aligned, I must have
messed up somewhere else.
>> textread('deaths.txt', '', 'headerlines', 3)
ans =
0 5.6900 4.3700
1.0000 0.5800 0.5900
2.0000 0.4300 0.4200
3.0000 0.3100 0.2900
4.0000 0.2300 0.2100
5.0000 0.1800 0.1500
6.0000 0.1500 0.1200
7.0000 0.1500 0.1000
8.0000 0.1500 0.1000
9.0000 0.1700 0.0600
10.0000 0.2000 0.0600
11.0000 0.1900 0.0800
12.0000 0.2000 0.0900
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38317>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38317] Textread gives different results in MATLAB and Octave, anonymous, 2013/02/12
- [Octave-bug-tracker] [bug #38317] Textread gives different results in MATLAB and Octave, Philip Nienhuis, 2013/02/12
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Philip Nienhuis, 2013/02/12
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Stig, 2013/02/13
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Philip Nienhuis, 2013/02/13
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave,
Stig <=
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Philip Nienhuis, 2013/02/13
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Philip Nienhuis, 2013/02/14
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Stig, 2013/02/16
- [Octave-bug-tracker] [bug #38317] textread & textscan give different results in MATLAB and Octave, Stig, 2013/02/16
- [Octave-bug-tracker] [bug #38317] textread & textscan: different results for empy format strings than MATLAB, Philip Nienhuis, 2013/02/24