Re: [Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-26 Thread Marcus Müller
> I call it simply spectrum too, maybe I should have said > magnitude/phase spectrum. Now I'm confused. Magnitude spectrum is definitely my $|\text{DFT}|$; but you're just looking for a plot of the DFT, right? > Indeed i don't need imaginary part in this case because the spectrum > is real That im

Re: [Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-26 Thread Marcus Müller
Hm, I'd call that /spectrum/, simply :) In any case, I don't fully understand, then, how you'd circumvent the need for a real and imaginary part. Your $X_k$ is complex! Cheers, Marcus On 04/26/2017 03:46 PM, Fernando wrote: > Hi!. > > I think the amplitude spectrum is the DFT: > {\displaystyle {\b

Re: [Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-26 Thread Fernando
Hi!. I think the amplitude spectrum is the DFT: {\displaystyle {\begin{aligned}X_{k}&=\sum _{n=0}^{N-1}x_{n}\cdot e^{-i2\pi kn/N}\\&=\sum _{n=0}^{N-1}x_{n}\cdot [\cos(2\pi kn/N)-i\cdot \sin(2\pi kn/N)],\end{aligned}}} So, it has sign. The power spectrum is the absolute value so it has no sign.

Re: [Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-26 Thread Marcus Müller
Hey Fernando, not quite sure I get what you need; I'd say the Amplitude Spectrum you'd be looking for is $$A_{|\cdot|}[f]=|X[f]| = \left\lvert\sum_{n=0}^{N-1} x[n]\cdot e^{j2\pi \frac {nf}N}\right\rvert $$ or, rather, the decibel representation of that. There's no way to get a negative number ou

Re: [Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-25 Thread Fernando
Hello. Yes, with Time sink I can see the difference, but if the signal is compound of some other signals (for instance signal=1K/amplitude +1 +2K/amplitude -1 +3K/qamplitude +1 +4K/amplitude +1 ) i would like to see the 2k signal as -1 amplitude, but in the power spectrum it will appear as possi

[Discuss-gnuradio] Visualizing Amplitude spectrum instead of power spectrum

2017-04-25 Thread Fernando
Hi. Is there a way of visualizing ampitude spectrum (with + and - signals) instead of power spectrum? regards ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio