MATLAB REQUIREMENT FOR HW#2

# MATLAB REQUIREMENT FOR HW#2 - PART 2 The code below is what...

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

MATLAB REQUIREMENT FOR HW#2 PART 1. The code below is what I used to get the transfer function, zero/pole form, and a graph of the step function. >> num1=[500 2500]; >> den1= conv([1 12 100],[1 25]); >> gtf1=tf(num1,den1) Transfer function: 500 s + 2500 --------------------------- s^3 + 37 s^2 + 400 s + 2500 >> gzp1=zpk(gtf1) Zero/pole/gain: 500 (s+5) ------------------------ (s+25) (s^2 + 12s + 100) >> step(gtf1);

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: PART 2 The code below is what I used to get the transfer function, zero/pole form, and a graph of the step function. >> num2=[1 2 20]; >> den1= conv([1 12 100],[1 25]); >> gtf1=tf(num1,den1) Transfer function: 500 s + 2500---------------------------s^3 + 37 s^2 + 400 s + 2500 >> gzp1=zpk(gtf1) Zero/pole/gain: 500 (s+5)------------------------(s+25) (s^2 + 12s + 100) >> step(gtf2)...
View Full Document

## This note was uploaded on 01/23/2012 for the course EE 4580 taught by Professor Gu during the Fall '10 term at LSU.

### Page1 / 2

MATLAB REQUIREMENT FOR HW#2 - PART 2 The code below is what...

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

View Full Document
Ask a homework question - tutors are online