So maybe I should be scaling to abs(complex) instead. Will try this. On Aug 14, 2010, at 6:26 PM, George Nychis <gnyc...@cmu.edu> wrote:
> Whenever I send samples to the USRP2, I scale them between -1 and 1, such > that the absolute value of the greatest real, and imaginary, component is 1: > scale= 1 / max([abs(real(signal)),abs(imag(signal))]); > signal = scale * signal; > > I confirm that no real or imaginary components exceeds -1 or 1. > > However, when I transmit using my scaled signal, I get some major clipping: > > [image: clipping.JPG] > > If I do not scale my signal, I get a nice clean waveform: > > [image: not_clipping.JPG] > > > > Has anyone else noticed a problem when scaling on the USRP2? > > Thanks, > George > <clipping.JPG> > <not_clipping.JPG> _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio