Re: [Discuss-gnuradio] Strategy advice

2007-10-23 Thread Steven Clark
On 10/18/07, Johnathan Corgan [EMAIL PROTECTED] wrote: One approach then would be to ensure this never happens, i.e., add a small epsilon to each input stream, and make epsilon small enough to not sufficiently impact the results for typical input values. Normalizing the conjugate product

Re: [Discuss-gnuradio] Strategy advice

2007-10-19 Thread Martin Dvh
Steven Clark wrote: All- I was hoping I could get some advice on what is a good block-design strategy for the following problem. I have two streams of complex samples coming in. I want a block or sequence of blocks which outputs the cosine of the phase difference between the two input

[Discuss-gnuradio] Strategy advice

2007-10-18 Thread Steven Clark
All- I was hoping I could get some advice on what is a good block-design strategy for the following problem. I have two streams of complex samples coming in. I want a block or sequence of blocks which outputs the cosine of the phase difference between the two input streams. If we could assert

Re: [Discuss-gnuradio] Strategy advice

2007-10-18 Thread Johnathan Corgan
Steven Clark wrote: We could try and normalize the complex product, but the universe explodes if it has length 0 (divide by 0). What do you want the answer to be in this case? You will only have a zero length vector from the conjugate multiplication if one of the original vectors is also zero