MATLAB REQUIREMENT FOR HW#2

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

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

View Full Document Right Arrow Icon
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);
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
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

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 Right Arrow Icon
Ask a homework question - tutors are online