HyperMath

Frf

Frf

Previous topic Next topic No expanding text in this topic  

Frf

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Frequency Response Function (FRF) function.

Syntax

y = Frf(vec1, vec2, length)

Arguments

Name

Description

 

vec1

A vector of the input to a system.

 

vec2

A vector of the output from a given system.

 

length (optional)

The length of the output vector if specified as a positive integer.  If omitted or zero, the length will be the input signal length.  If the length is specified as ‘pad’, the length will be rounded up (zero padding the inputs) if necessary to obtain a power of 2.

Output

Name

Description

 

y

A vector of the FRF of input vec1 and output vec2.  It is complex-valued in general.  Unless argument length is specified, its length is equal to that of the inputs.

Example

Given vectors input and output, a vector is created which is the FRF of the two:

 

Syntax

 

y = Frf(input,output)

 

Result

 

y is a vector of the the FRF.

Comments

vec1 and vec2 are assumed to be evenly sampled. vec1 and vec2 must have the same number of elements.

The output can be used to extract the magnitude and phase response.

See Also:

Abs

FrfImag

FrfMag

FrfPhase

FrfReal

Freq

Phase