# When I double bit rate I do not see a difference in I_spectrum and Q_spectrum, but why?

Signal Processing Asked by sawpythonnewbie on December 11, 2020

I wanted to compare two different I-Q spectrum plots of a basic transmitter, one in which I doubled the bit rate. I expected a different result, that of possibly a higher/faster graph. It looks sort of the same, but that the doubled bit rate has more noise? I am not understanding the results here.

Do you know how ADS is plotting the spectrum? Plotting the spectrum without doing some kind of normalization will give you a higher magnitude. Once you determine the size of the FFT, normalizing by the length will give you the same magnitude no mater what sampling rate you choose.

For example let's take two rectangular signals, one sampled at 1 MHz and the other at 2 MHz. Below are their spectrums without normalization: Since the bottom one is sampled twice as fast, it eventually produces an FFT size that is twice as long, hence the 6 dB increase in the peak.

Now compare this to the same exact signals, but now their magnitudes are normalized by their respective FFT sizes: Now you can see that the peaks are the same magnitude. You can play with normalizing all day long to fit your need. It is the shape of the spectrum that is usually most important.

Here is some quick MATLAB code so you can maybe try it yourself and play around a bit.

%% Signal generation and FFT

% Sampling rates
fs1 = 1e6;
fs2 = 2e6;

% Rectangular pulse signals
t1 = 0:1/fs1:1e-5;
t2 = 0:1/fs2:1e-5;
pulseSignal1 = ones(1, numel(t1));
pulseSignal2 = ones(1, numel(t2));

% FFT setup
nfft1 = 100*numel(t1);
f1 = fs1.*(-nfft1/2:nfft1/2-1)/nfft1;

nfft2 = 100*numel(t2);
f2 = fs2.*(-nfft2/2:nfft2/2-1)/nfft2;

%% Without Normalization

figure;
subplot(2, 1, 1);
plot(f1./1e6, 20*log10(abs(fftshift(fft(pulseSignal1, nfft1)))));
xlabel("Frequency (MHz");
ylabel("Magnituide (dB)");
legend("F_s = 1 MHz");
ylim([-40 50]);

subplot(2, 1, 2);
plot(f2./1e6, 20*log10(abs(fftshift(fft(pulseSignal2, nfft2)))));
xlabel("Frequency (MHz");
ylabel("Magnituide (dB)");
legend("F_s = 2 MHz");
ylim([-40 50]);

%% With Normalization

figure;
subplot(2, 1, 1);
plot(f1./1e6, 20*log10(abs(fftshift(fft(pulseSignal1, nfft1)./nfft1))));
xlabel("Frequency (MHz");
ylabel("Magnituide (dB)");
legend("F_s = 1 MHz");
ylim([-80 -10]);

subplot(2, 1, 2);
plot(f2./1e6, 20*log10(abs(fftshift(fft(pulseSignal2, nfft2)./nfft2))));
xlabel("Frequency (MHz");
ylabel("Magnituide (dB)");
legend("F_s = 2 MHz");
ylim([-80 -10]);


Correct answer by Envidia on December 11, 2020

## Related Questions

### Importance of Phase in FFT of an image

1  Asked on January 29, 2021 by mohit-lamba

### Extrapolation of band-limited frequency data

0  Asked on January 29, 2021 by junghak-ahn

### Quantify the difference between two audio spectrograms

2  Asked on January 28, 2021 by ictguy1

### How does an image rotation affect the magnitude of a DFT?

1  Asked on January 21, 2021 by astroturfdurf

### Fourier Transform of a Pulse Train (Frequency Comb Simulation)

1  Asked on January 20, 2021 by jbphysics

### How should a moving average handle missing data points?

5  Asked on January 20, 2021

### finding power spectral density from a vector

0  Asked on January 18, 2021 by raykh

### Can FFT convolution be faster than direct convolution for signals of large sizes?

3  Asked on January 15, 2021

### My 3×3 Weighted Median Filter doesn’t seem to be improving my image quality

2  Asked on January 15, 2021 by mr-johnny-doe

### Determine the haar wavelet function is linear or nonlinear

2  Asked on January 14, 2021 by ameer

### DCT and Convolution, [1994, Martucci]

0  Asked on January 14, 2021 by eduardo-reis

### Help in LBG Vector Quantization – Splitting Factor

0  Asked on January 13, 2021 by an6

### What is the value range of log magnitude spectrograms?

2  Asked on January 10, 2021 by tmueller

### How to compute autocorrelation with exponential IIR filter efficiently

0  Asked on January 8, 2021 by james-pinkerton

### How to reduce latency under mean filter for high noise?

3  Asked on January 8, 2021 by christopher-oezbek

### Calculating DTFT

1  Asked on January 4, 2021

### On generalizing Gabor-Heisenberg uncertainty in a noisy environment

1  Asked on January 3, 2021 by pierebean

### Is the phase difference between recorded sounds from left and right ear the same as the phase difference between their HRTF?

1  Asked on January 1, 2021 by atra-es