Question: % system is limited by it's half of a sampling rate. fmax = ; % max frequency in the system simulation nFFT = 2 5
system is limited by it's half of a sampling rate.
fmax ; max frequency in the system simulation
nFFT ; number of points in frequency domain
Xf fftshiftfftnFFT; modulating signal spectrum
magXf absXf; absolute value of modulating spectrum
freq fmax:FsnFFT:fmaxfmaxnFFT; double sided freq vector
Cf fftshiftfft nFFT; carrier signal spectrum
magCf absCf; absolute value of carrier signal spectrum
Yf fftshiftfft nFFT; modulated output signal spectrum
magYf absYf; absolute value of modulated output signal spectrum
figure;
plotfreqlogmagXf; hold on;grid on;
titleModulating signal magnitude spectrum';
xlabelfrequency; ylabelamplitude;
plotfreqlogmagCf;
titleCarrier signal magnitude spectrum';
xlabelfrequency; ylabelamplitude;
plotfreqlogmagYf;
titleModulated output magnitude spectrum';
xlabelfrequency; ylabelamplitude;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
