On Tue, Aug 10, 2010 at 10:06:29PM -0400, Tom Rondeau wrote: > 2010/8/10 Wipat phonsukkarn <wipat_phonsukk...@hotmail.com>: > > Does anybody knows how to power(^) the signal from the signal source block > > or USRP source > > for example signal from signal source are coswt+jsinwt or Ae^(jwt) and i > > want to ^2 for the result = (Ae^(jwt))^2 > > Does the grc blocks have a ^ block? > > > > > > Thank you very much for yours advice > > Wipat > > There is no single block to do this. But consider that x^2 = x*x. So > use a multiplier with two inputs each coming from the signal of > interest. > > For x^n, you can connect n inputs into the multiply block. > > Tom
FWIW, there's gr.complex_to_mag -> computes sqrt(z * z) for complex z gr.complex_to_mag_squared -> computes z * z for complex z Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio