304_hw2 - with the CT transfer function, and its...

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

View Full Document Right Arrow Icon
EEE 304 Homework 2 Problem 1: Consider the following systems: 1. Transfer function ) 1 )( 1 ( 10 ) ( + = s s s s H (Continuous time, causal) 2. Transfer function 0.99 + z 2 - z z 0.1 ) ( 2 = z H (Discrete time, causal) Compute the following: 1. Bode plot (expression, graph) 2. Response to sin(2 π t) (for CT) and sin(2 π n/10) (for DT) NOTE: - The DT system is a discrete approximation of the continuous one with sampling time T = 0.1. The approximation is good up to frequencies ~0.1(Nyquist).
Background image of page 1

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

View Full DocumentRight Arrow Icon
Problem 2: 1. Use forward and backward Euler and Tustin approximations of derivative to derive the DT counterparts of the system of Problem 1.1, for sampling times 0.1, 1. 2. Use MATLAB to compare the step responses and frequency responses of the discretizations in P.2.1
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: with the CT transfer function, and its descretization using the function c2d, with Tustin, zoh and foh options (sample code for a different problem is given below). Briefly, describe your observations. H=tf([-.2 1],[1 3 2]);T=.1 num=T*[T-0.2 0.2 0];den=conv([1+T -1],[1+2*T,-1]);Hdb=tf(num,den,T) num=[-0.2*T 0.2*T+T*T];den=conv([1 -1+T],[1 -1+2*T]);Hdf=tf(num,den,T) Hdzoh=c2d(H,T,'zoh'),Hdfoh=c2d(H,T,'foh'),Hdtust=c2d(H,T,'tustin'), subplot(121) step(H,Hdf,Hdb,Hdzoh,Hdfoh,Hdtust) axis([0,10,-1 2]) subplot(122) bode(H,Hdf,Hdb,Hdzoh,Hdfoh,Hdtust)...
View Full Document

Page1 / 2

304_hw2 - with the CT transfer function, and its...

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

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