3015_Discussion_2_Solutions - University of Minnesota Dept...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Minnesota Dept. of Electrical and Computer Engineering EE3015 – Signals and Systems Discussion Session #2: Basic signals Complex exponentials (using Matlab) 1. Consider the signal x ( t ) = 2 e j ( t + π /3) a) Find (analytically) its amplitude, phase, real/imaginary part and fundamental period (if periodic). | x ( t )| = 2 arg{ x ( t )} = t + π /3 Re{ x ( t )} = 2cos( t + π /3) Im{ x ( t )} = 2sin( t + π /3) T =2 π b) Using Matlab, plot the amplitude and phase of x ( t ). Show both plots on the same window, one on top of the other, using the command subplot . Label all plots and axes. Scale your time axis so that at least three periods of the signal are plotted. To plot the phase, try two different Matlab commands: phase and angle . What is the difference between these two commands? Is the result consistent with a)? clear all close all t=-3*pi:0.01:3*pi x=2*exp(j*(t+pi/3)); subplot(2,1,1) plot(t,abs(x)) xlabel('Time (s)') ylabel('|x(t)|') title('Amplitude plot') subplot(2,1,2) plot(t,angle(x)) %plot(t,phase(x)) xlabel('Time (s)') ylabel('arg\{x(t)\}') title('Phase plot')
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Command angle plots the signal angle
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/20/2009 for the course EE 3015 taught by Professor Staff during the Fall '08 term at Minnesota.

Page1 / 4

3015_Discussion_2_Solutions - University of Minnesota Dept...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online