Answered step by step
Verified Expert Solution
Question
1 Approved Answer
% 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started