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 =2500; % number of points in frequency domain
Xf = fftshift(fft(,nFFT)); % modulating signal spectrum
magXf = abs(Xf); % absolute value of modulating spectrum
freq =-fmax:(Fs/nFFT):fmax-(fmax/nFFT); % double sided freq vector
Cf = fftshift(fft(, nFFT)); % carrier signal spectrum
magCf = abs(Cf); % absolute value of carrier signal spectrum
Yf = fftshift(fft(, nFFT)); % modulated output signal spectrum
magYf = abs(Yf); % absolute value of modulated output signal spectrum
figure;
plot(freq,20*log10(magXf)); hold on;grid on;
title('Modulating signal magnitude spectrum');
xlabel('frequency'); ylabel('amplitude');
plot(freq,20*log10(magCf));
title('Carrier signal magnitude spectrum');
xlabel('frequency'); ylabel('amplitude');
plot(freq,20*log10(magYf));
title('Modulated output magnitude spectrum');
xlabel('frequency'); ylabel('amplitude');

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!