Home / Week 4 Exercises / poles_to_sf

poles_to_sf

The questions below are due on Sunday March 03, 2019; 11:00:00 PM.
 
You are not logged in.

If you are a current student, please Log In for full access to this page.
If you're going to SF

Define a function called poles_to_sf, which takes as its lone argument a list of numbers representing the poles of a system, and returns an instance of System representing a system with those poles.

The numerator of the returned system functional should always be 1.

In the box below, the Polynomial class, as well as all of the classes from our previous exercises in developing a framework for modeling LTI systems (System, Gain, R, etc.) have been imported for you. To debug on your own machine, add the following to the top of your work file:

from lib601.poly import Polynomial
from lib601.lti import *

It might be helpful to refresh your memory of the lti and poly modules by looking at the lib601 documentation.

Enter your definition for poles_to_sf in the box below:

  No file selected