I am trying to write the equations to generate a plot of deviation from linear phase. I am sure this is not a stock feature (e.g. standard output format) but I am hoping there is enough capability in the equation scripting. I have not had a lot of success so far. Could anyone provide some code (or a working wsx)?

Attached is what a plot would look like.

Thanks

Attached is what a plot would look like.

Thanks

Syntax

z = dev_lin_phase( x , y )

Definition

Returns a vector in radians of deviation from the linear phase. Parameter x is the dependent vector and parameter y is the independent vector. Parameters must be vectors.

Example:

using("Linear1_Data")

data3=dev_lin_phase(S[2,1],F)