Skip to content

Unity feedback of discrete-time system #304

@olof3

Description

@olof3

feedback(ss(0.5, 1, 1, 0, 1), 1) currently throws "sampletime mismatch"

I guess that this will be resolved after pulling the sampletime PR, so this is just a reminder to check that this is indeed the case.

Here are two simple regression tests to add.

@test feedback(ss(0.5, 1, 1, 0, 1), 1) == ss(-0.5, 1, 1, 0, 1)
@test feedback(1, ss(0.5, 1, 1, 0, 1)) == ss(-0.5, 1, -1, 1, 1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions