evalfr

Evaluate frequency response at given frequency.

Syntax

  • frsp = evalfr(sys, f)

Input argument

  • sys - LTI model

  • f - single frequency

Output argument

  • frsp - frequency response

Description

The function evalfr(sys, f) computes the value of the transfer function for a given system model represented by sys at the complex number f.

Example

numerator = {[2, 0], [1, 3]};
denominator = {[4, 0, 3, -1], [1 , 3, 5]};
sys = tf(numerator, denominator);
z = 1 + j;
frsp = evalfr(sys, z)

See also

bode, freqresp.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated