Skip to content

Incorrect phase in bode plots of systems with negative gain #27

@Tommischiri

Description

@Tommischiri

this is a follow up to this issue.
The issue seems to persist with more complex expressions of the system in which the negative gain is not explicit or is "hidden" in the expression simplified by the octave backend.

Example running Octave 10.3.0 in jupyter-lab (but same result in 11.1.0), with pkg control version 4.2.1+ (latest fix commit included):

Image

The above result shows in the low frequencies a phase of 0°.
The correct value, as wolframalpha shows, should be +180° (or -180°):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions