Re: Increasing the speed of importdata in Matlab
- From: "Titus Edelhofer" <tedelhof@xxxxxxxxxxxxx>
- Date: Mon, 19 Sep 2005 10:45:27 +0200
Hi,
I guess, your matrix comes as an ascii file? Do you know how it is
generated?
In this case, try to use a binary format for the matrix...
Otherwise try fscanf, but it will take a long time as well...
Titus
"Mohammad" <asgharzadeh.1@xxxxxxx> schrieb im Newsbeitrag
news:ef14d1d.-1@xxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'm trying to read in a 3 Gbytes size file into Matlab. I wait for
> about a day or so, but still the code is running. I use the simple
> code below:
>
> A = importdata('A.dat');
>
> The file contains a matrix of 16384*16384 dimensions. I run the code
> on a 64 bits Linux system.
>
> Is there any way that I can improve the process of reading in the
> data?
>
> Thanks a lot,
> Mohammad
.
- References:
- Increasing the speed of importdata in Matlab
- From: Mohammad
- Increasing the speed of importdata in Matlab
- Prev by Date: Re: Compiler - DLLs
- Next by Date: Re: ellipse1 function
- Previous by thread: Increasing the speed of importdata in Matlab
- Next by thread: Re: Increasing the speed of importdata in Matlab
- Index(es):
Relevant Pages
|