frfmag
Magnitude of a Frequency Response Function (FRF) function.
Syntax
frfmag(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)
|
Given c1 and c2, a curve is created which is the magnitude of the FRF for input c1 and output c2. |
Comments
The frfmag function returns the magnitude 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.