How to change frequency range doubling of Complex-valued Chirp Signal Spectrogram to match the Real-Valued Chirp Spectrogram
When real-valued linear chirp is plotted in spectrogram, the frequency range is limited to the Nyquist rate frequency range.
However, when complex-valued linar chirp with the same parameters is plotted, the frequency range of the spectrogram doubles. Is there an option to limit the frequeny range to the Nyquist rate?
%%%% Sample Code %%%%
Fs=2E3; %sampling rate
f0=0; %initial frequency offset = 0
f1=0.5E3; %LFM sweeping frequency
t1=0.5;
t=0:1/Fs:t1;
%
%Real Valued Chirp
%
yr=chirp(t,f0,t1,f1,’real’);
figure
spectrogram(yr,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Real in Time-Freq ‘)
%
%Complex Valued Chirp
%
yc=chirp(t,f0,t1,f1,’complex’);
figure
spectrogram(yc,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Complex in Time-Freq ‘)When real-valued linear chirp is plotted in spectrogram, the frequency range is limited to the Nyquist rate frequency range.
However, when complex-valued linar chirp with the same parameters is plotted, the frequency range of the spectrogram doubles. Is there an option to limit the frequeny range to the Nyquist rate?
%%%% Sample Code %%%%
Fs=2E3; %sampling rate
f0=0; %initial frequency offset = 0
f1=0.5E3; %LFM sweeping frequency
t1=0.5;
t=0:1/Fs:t1;
%
%Real Valued Chirp
%
yr=chirp(t,f0,t1,f1,’real’);
figure
spectrogram(yr,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Real in Time-Freq ‘)
%
%Complex Valued Chirp
%
yc=chirp(t,f0,t1,f1,’complex’);
figure
spectrogram(yc,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Complex in Time-Freq ‘) When real-valued linear chirp is plotted in spectrogram, the frequency range is limited to the Nyquist rate frequency range.
However, when complex-valued linar chirp with the same parameters is plotted, the frequency range of the spectrogram doubles. Is there an option to limit the frequeny range to the Nyquist rate?
%%%% Sample Code %%%%
Fs=2E3; %sampling rate
f0=0; %initial frequency offset = 0
f1=0.5E3; %LFM sweeping frequency
t1=0.5;
t=0:1/Fs:t1;
%
%Real Valued Chirp
%
yr=chirp(t,f0,t1,f1,’real’);
figure
spectrogram(yr,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Real in Time-Freq ‘)
%
%Complex Valued Chirp
%
yc=chirp(t,f0,t1,f1,’complex’);
figure
spectrogram(yc,[],256,512,Fs,’yaxis’);
title(‘UP Chirp-Complex in Time-Freq ‘) chirp spread spectrum, matlab, spectrogram MATLAB Answers — New Questions