frfreal

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

Syntax

frfreal(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 = frfreal(c1.y, c2.y)

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

Comments

The frfreal function returns the real 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.