[Top][All Lists]

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

RE: Very slow reading of a 2D matirx

From: Alireza
Subject: RE: Very slow reading of a 2D matirx
Date: Wed, 19 Oct 2005 22:39:57 -0500

I knew about the octave's ascii format, and the reason for avoiding it was
that the data is automatically generated by a tool that only understands
matlab format.

This question is still there, why octave is so slow when reading matlab
format ascii data?

> -----Original Message-----
> From: Henry F. Mollet [mailto:address@hidden
> Sent: Thursday, 20 October 2005 1:24 PM
> To: Alireza; Octave_post
> Subject: Re: Very slow reading of a 2D matirx
> I made a few changes and then a few more until octave could read your data
> file. See attached.  I named it 'xxdata' rather than 'xx.m'.
> Henry
> No need to initialize the 180x180 matrix and I removed a newline. Then
> octave:6> load xx.m
> error: load: xx.m: inconsistent number of columns near line 181
> error: load: unable to extract matrix size from file `xx.m'
> %Removed another extra new line character.
> octave:6> load xx.m
> error: load: failed to read matrix from file `xx.m'
> %Added proper headers for an octave data file
> octave:6> load xx.m
> Now it loaded.
> on 10/19/05 6:24 PM, Alireza at address@hidden wrote:
> > Hi,
> >
> > I have a moderately sized 2D array (180X180), that want to read
> into octave.
> > The reading is extremely slow. I have tried to create the array
> first, but
> > the speed is still the same.
> >
> > I have tried this on various machines and octave versions, from
> the rusty to
> > bleeding!
> >
> > Any thoughts and suggestions as to why this is and what needs
> to be done!
> >
> > Thanks
> > Ali
> >

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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