[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slow code, optimisation advice needed
From: |
tomkut |
Subject: |
Re: slow code, optimisation advice needed |
Date: |
Thu, 31 May 2018 05:36:05 -0700 (MST) |
thx PhilipNienhuis, I tried the timing function. The e = cellfun ( @strsplit,
(d(1:3)) ,'UniformOutput', false ); works but the structure of the
resulting cell array is different e.g.:
e =
{
[1,1] =
{
[1,1] = 36.5333
[1,2] = 41.8667
}
[2,1] =
{
[1,1] = 36.5333
[1,2] = 41.8667
}
}
as oppose to:
f =
{
[1,1] = 36.5333
[2,1] = 36.5333
[1,2] = 41.8667
[2,2] = 41.8667
}
How can I correct this?
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- slow code, optimisation advice needed, tomkut, 2018/05/25
- Re: slow code, optimisation advice needed, Ian McCallion, 2018/05/25
- Re: slow code, optimisation advice needed, tomkut, 2018/05/29
- Re: slow code, optimisation advice needed, Ian McCallion, 2018/05/30
- Re: slow code, optimisation advice needed, tomkut, 2018/05/30
- Re: slow code, optimisation advice needed, tomkut, 2018/05/30
- Message not available
- Fwd: slow code, optimisation advice needed, Ian McCallion, 2018/05/30
- Re: Fwd: slow code, optimisation advice needed, tomkut, 2018/05/31
Re: slow code, optimisation advice needed, PhilipNienhuis, 2018/05/30
- Re: slow code, optimisation advice needed,
tomkut <=