help-octave
[Top][All Lists]
Advanced

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

cellfunc vs cell2mat speed?


From: Levente Torok
Subject: cellfunc vs cell2mat speed?
Date: Tue, 9 Sep 2008 19:51:17 +0200
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

Hi All,

I am just wondering why is it so difficult to convert a cell array to matrix?

I used cellfunc on  cell array of 59000 cells which took 7 seconds
but the conversion to a matrix of size
443320 , 7
took about 1080 seconds on my machine.

The cell2mat on the same data took appx 150 times more time.
I am just shocked. Should I replace the original cell2mat with a C routine?

Lev

-- 
Blogger of http://fapuma.blogspot.com


reply via email to

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