frfimag

Imaginary component of a Frequency Response Function (FRF) function.

Syntax

frfimag(vec_expr_1, vec_expr_2)

Argument

vec_expr1
The input to a system.
vec_expr_2
The output from a given system.

Example

Curve Math Vectors Result
x = freq(c1.x)

y = frfimag(c1.y, c2.y)

Given c1 and c2, a curve is created which is the imaginary component of the FRF of input c1 and output c2.

Comments

The frfimag function returns the imaginary component of a Frequency Response Function (FRF). vec_expr_1 and vec_expr_2 are assumed to be evenly sampled. vec_expr_1 and vec_expr_2 must have the same number of elements. The resultant vector has a number of elements equal to the least power of two greater than or equal to the number of elements in vec_expr_1.

The FRF is complex-valued and used to obtain the frequency-domain parameters of a given system.