[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with vectorizing a for loop
From: |
Martin Helm |
Subject: |
Re: help with vectorizing a for loop |
Date: |
Tue, 04 Oct 2011 23:47:40 +0200 |
Am Dienstag, den 04.10.2011, 11:20 -1000 schrieb Rick T:
> Sorry about that t_rebuilt should be t.
>
It's a bit late here so I hope I did not completely mess this up now
aa_sig_combined=sum(diag(inner_freq(1:end-1,2))*cos(2.*pi.*inner_freq(1:end-1,1)*t).+
repmat(inner_freq(1:end-1,3),[1 length(t)]));
takes roughly 77 seconds on my netbook but memory consumption goes up to
about 3 gig for the octave process (so it uses swap here, not sure what
happens on windows).
- help with vectorizing a for loop, Rick T, 2011/10/03
- Re: help with vectorizing a for loop, Bård Skaflestad, 2011/10/03
- Re: help with vectorizing a for loop, Martin Helm, 2011/10/03
- Re: help with vectorizing a for loop, Thomas Weber, 2011/10/03
- Re: help with vectorizing a for loop, Rick T, 2011/10/04
- Re: help with vectorizing a for loop, Martin Helm, 2011/10/04
- Re: help with vectorizing a for loop, Rick T, 2011/10/04
- Re: help with vectorizing a for loop,
Martin Helm <=
- Re: help with vectorizing a for loop, Martin Helm, 2011/10/04
- Re: help with vectorizing a for loop, Rick T, 2011/10/04
- Re: help with vectorizing a for loop, Martin Helm, 2011/10/05
- Re: help with vectorizing a for loop, Rick T, 2011/10/05
- Re: help with vectorizing a for loop, Martin Helm, 2011/10/05
Re: help with vectorizing a for loop, Jordi Gutiérrez Hermoso, 2011/10/04