Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Phase shift in bode plot #467

Closed
Closed
@SebastienDeriaz

Description

@SebastienDeriaz

Given the transfer function
G = 1/s^3
We should see a constant negative phase of -270°, which is confirmed in matlab

image

However, both control.bode and control.matlab.bode give 90° instead of -270°. Although technically the same value, it does get confusing.

import control
import control.matlab
s = control.tf('s')

G = 1/s**3

control.bode(G);

image

control.matlab.bode(G);

image

What i've tried so far

Is it possible to get the "absolute" phase of the transfer function ? If not, i would suggest that control.matlab.bode be corrected as to reflect the behavior of matlab's bode

Thanks for your help !

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions