Example #1
0
def plotD(k, end=50):
    d = ts.TransducedSignal(sig.ConstantSignal(0.7),
                            wallFinderSystem(0.1, initD, k))
    d.plot(0, end, newWindow='Gain ' + str(k))
Example #2
0
def plotOutput(sfModel):
    """Plot the output of the given SF, with a unit-step signal as input"""
    smModel = sfModel.differenceEquation().stateMachine()
    outSig = ts.TransducedSignal(sig.StepSignal(), smModel)
    outSig.plot()