ECE450 Project I: Simulation on AM/FM Modulations (Winter 2017) 1 Project Descri
ID: 2080876 • Letter: E
Question
ECE450 Project I: Simulation on AM/FM Modulations (Winter 2017) 1 Project Description The objective of Project I is to investigate the wave forms and corresponding spectra as well as the demodulation of AM and FM modulation signals through a Matlab simulation program. The detail of the project is listed as below, Read a wav file through Matlab code, lm,tsl audioread( learning.wav): where m repre- sent the voice message and f is the sample rate. 2) Set carrier as fe 32KHz. Plot the waveforms and spectrum of such AM modulation upon the above parameters by setting ka 0.75 and Ac 31. 4) Plot the waveforms and spectrum of such FM modulation upon the above parameters and set k 4000 5) Plot the demodulation waveforms of such AM modulation signals. 6) Plot the demodulation waveforms of such FM modulation signals. 2 Project Tasks 1) Use a simple RC envelope detector to realize AM demodulation by carefully selecting the time constant of T. 2) Use Matlab function, diff(lfml11 fml), to complete differential and a RC filter for FM demodulation Use sound (demod,fs) to hear the sounds where demod is the demodulated wav message 3) 4) Submit a project report consisting your Matlab codes and figures for waveforms and spectrum of modulationsExplanation / Answer
Q1) Project 1:
Parts 1,2,3,4:
clc
clear all
close all
figure
syms t
[m,fs] = wavread('1b.wav');
fc = 2000;
A = 1;
ka = 0.75;
t= 0:0.1:10;
%AM signal
yam = A * (1+ ka * m) * cos(2*pi*fc*t);
plot(t,yam)
xlabel('time');
ylabel('AM signal')
title('Ampiltude Modulated signal');
%FM Signal
kf = 4000;
x = int(m,0,t);
yfm = A * cos((2*pi*fc*t) + 2*pi*x);
plot(t,yfm)
xlabel('time');
ylabel('FM signal')
title('Frequency Modulated signal');
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.