|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
[BUG] csvreadWhen I use csvread on the following data, it only reports 4 columns. It seems blank columns are not handled well and skipped. ,,,5.73500008e-008, 0.232 ,,,5.74000008e-008, 0.24 ,,,5.74500008e-008, 0.244 ,,,5.75000008e-008, 0.244 ,,,5.75500008e-008, 0.22 ,,,5.76000008e-008, 0.196 . . . For above data, x=csvread('xxx.csv'); size(x) shows 285000 4 When I use the following data, it seems the rows with data in 5 columns are correct, but rows that begin with ,,, are missing one column. "Record Length",500,"Points",5.73500008e-008, 0.232 "Sample Interval",5.00000007e-011,s,5.74000008e-008, 0.24 "Trigger Point",-1147,"Samples",5.74500008e-008, 0.244 "Trigger Time",3.40096975e-012,s,5.75000008e-008, 0.244 "",,,5.75500008e-008, 0.22 "Horizontal Offset",5.73999998e-008,s,5.76000008e-008, 0.196 "FastFrame Count",570,"Frames",5.76500008e-008, 0.176 ,,,5.77000008e-008, 0.164 ,,,5.77500008e-008, 0.156 ,,,5.78000008e-008, 0.148 ,,,5.78500008e-008, 0.144 . . . For above data, x=csvread('xxx.csv'); size(x) shows 285000 5 _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
[BUG] csvreadOn 28-Feb-2008, Mik Kim wrote:
| When I use csvread on the following data, it only reports 4 columns. It seems blank columns are not handled well and skipped. | | ,,,5.73500008e-008, 0.232 | ,,,5.74000008e-008, 0.24 | ,,,5.74500008e-008, 0.244 | ,,,5.75000008e-008, 0.244 | ,,,5.75500008e-008, 0.22 | ,,,5.76000008e-008, 0.196 | . | . | . | | For above data, | x=csvread('xxx.csv'); size(x) | | shows | 285000 4 | | When I use the following data, it seems the rows with data in 5 columns are correct, but rows that begin with ,,, are missing one column. | | "Record Length",500,"Points",5.73500008e-008, 0.232 | "Sample Interval",5.00000007e-011,s,5.74000008e-008, 0.24 | "Trigger Point",-1147,"Samples",5.74500008e-008, 0.244 | "Trigger Time",3.40096975e-012,s,5.75000008e-008, 0.244 | "",,,5.75500008e-008, 0.22 | "Horizontal Offset",5.73999998e-008,s,5.76000008e-008, 0.196 | "FastFrame Count",570,"Frames",5.76500008e-008, 0.176 | ,,,5.77000008e-008, 0.164 | ,,,5.77500008e-008, 0.156 | ,,,5.78000008e-008, 0.148 | ,,,5.78500008e-008, 0.144 | . | . | . | | For above data, | | x=csvread('xxx.csv'); size(x) | | | shows | | 285000 5 The csvread function is not a core Octave function. You should report the bug to the maintainer of the package that includes csvread. jwe _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: [BUG] csvreadPlease use the latest version of the octave-forge io package where this issue should be fix. John csvread should probably be ported to Octave in any case as its a core matlab function.. D. |
|
|
Re: [BUG] csvreadOn 1-Mar-2008, dbateman wrote:
| Please use the latest version of the octave-forge io package where this | issue should be fix. John csvread should probably be ported to Octave in any | case as its a core matlab function.. Would someone (not David) like to make sure that it follows the Octave coding style and submit it? I haven't looked, so I don't know whether it needs much work. Thanks, jwe _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: [BUG] csvreadcsvread.m in octave-forge/main/io/inst/ only calls dlmread in turn.
I can't find dlmread neither in Octave nor Octave-forge. dlmwrite is present in the io package. On Mon, Mar 3, 2008 at 8:51 AM, John W. Eaton <jwe@...> wrote: > On 1-Mar-2008, dbateman wrote: > > | Please use the latest version of the octave-forge io package where this > | issue should be fix. John csvread should probably be ported to Octave in any > | case as its a core matlab function.. > > Would someone (not David) like to make sure that it follows the Octave > coding style and submit it? I haven't looked, so I don't know whether > it needs much work. > > Thanks, > > jwe > > > _______________________________________________ > Bug-octave mailing list > Bug-octave@... > https://www.cae.wisc.edu/mailman/listinfo/bug-octave > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: [BUG] csvreadOn 3-Mar-2008, Jaroslav Hajek wrote:
| csvread.m in octave-forge/main/io/inst/ only calls dlmread in turn. | I can't find dlmread neither in Octave nor Octave-forge. dlmwrite is | present in the io package. I think dlmread.cc should be in the io package. jwe _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: [BUG] csvreadsorry, I mistyped "find" command, it is indeed there. The style seems
OK apart from the usual issues with #includes (#include <oct.h>) and multiple error returns. On Mon, Mar 3, 2008 at 9:16 AM, John W. Eaton <jwe@...> wrote: > On 3-Mar-2008, Jaroslav Hajek wrote: > > | csvread.m in octave-forge/main/io/inst/ only calls dlmread in turn. > | I can't find dlmread neither in Octave nor Octave-forge. dlmwrite is > | present in the io package. > > I think dlmread.cc should be in the io package. > > jwe > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: [BUG] csvreadOn 3-Mar-2008, Jaroslav Hajek wrote:
| sorry, I mistyped "find" command, it is indeed there. The style seems | OK apart from the usual issues with #includes (#include <oct.h>) and | multiple error returns. OK, including these functions in Octave would probably be fine, but I only plan to do it if someone prepares them and submits a changeset for Octave. Thanks, jwe _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
| Free embeddable forum powered by Nabble | Forum Help |