Task 1: Plot The Fundamental (1Hz) Frequency: I 1:3 T 0:.001:5 X Sin (2 Pi I T) Subplot (3,1, I) Plot (T, X)
Task 1: Plot The Fundamental (1Hz) Frequency: I 1:3 T 0:.001:5 X Sin (2 Pi I T) Subplot (3,1, I) Plot (T, X)
This Lab session will guide you to understand the concept of Fourier, by which you can create some really complicated looking waves by just summing up simple sine and cosine waves. For this we use MATLAB which is an is a high-level technical computing language and interactive environment developed by MathWorks, Inc. to facilitate numerical computations as well as some symbolic manipulation. Note: This Lab session will be counted as a part of your assessment tasks of your Telecommunication Principles course. Save all your m-files and figures in a directory named as your Student ID.
Task 1: plot the fundamental (1Hz) frequency First we create a time vector by typing the following in the Matlab command window >> t=0:.001:4; And then we plot the fundamental frequency as follows, >>y=sin(2*pi*1*t); >>plot(t,y); Task 2: plot the 2nd and 3rd harmonics We create the time vector as we did for the previous task and plot the sine curves with 2nd and 3rd harmonic frequencies. We create an m-file for this. Type the following in the Matlab Editor and save as harmonics.m
You Should Submit a printed report, 1.containing all your matlab codes, results, figures. 2.Discussion