|
|
Re: convn and (i)fftn
Posted:
Jun 23, 2011 3:13 AM
|
|
"Matt J" wrote in message <itt2po$bqu$1@newscl01ah.mathworks.com>... > "Alle Meije " <a.m.wink@gmail.com> wrote in message <itt2ao$a5r$1@newscl01ah.mathworks.com>... > > > > Brilliant. So, what would you (in general, or more specifically for this problem), recommend in terms of speed: do as you've done, combine as many dimensions as possible (Hxy and Hz), or to separate out every dimension (have separate Hx, Hy, and Hz)? > ================== > > I haven't combined any dimensions. What I've implemented does separate convolutions along x,y, and z. That is the recommendable thing to do.
Ah, OK. So the steps for Hx and Hy can be combined into one call (Hxy) because the x and y dimensions are the same (3rd parameter), and the step for Hz needs to be a separate call because the dimension is different?
AM
|
|