
July 27, 2008
10:32 a.m.
Henrik Ronellenfitsch wrote: <snip>
Thanks very much for your solution, this is exactly what I needed! If I'm not mistaken, though, you can achieve the same result with
h = hamming(n) ham2d = sqrt(outer(h,h))
which is a bit more compact.
Regards, Henrik
Yes, that's nicer. regards, Gary