Engee documentation

freqresp

Frequency response of an object of a rational function.

Library

EngeeRF

Syntax

Function call

The ability to control how the function freqresp performs extrapolation outside the frequency range of the input data, limited because the object rational generates an approximation of the data in the frequency domain using a rational function. The upper frequency response limit is determined by the property TendsToZero object rational: if for the property TendsToZero the value is set true the response will tend to zero at high frequencies; otherwise it will correspond to the approximation defined by the object rational.

Arguments

Input arguments

# fit — rational approximation object

+ rfmodel.rational object | rational object | array

Details

An object of rational approximation specified as an object of type rfmodel.rational or rational. Is an array of size on .

# inputfreq — input frequency

+ vector

Details

The input frequency in Hz for calculating and constructing the frequency response, given as a real vector of positive values.

Типы данных

Float64

Output arguments

# response — calculated frequency response

+ vector

Details

The calculated frequency response of each approximation in an array of size on , returned as a vector.

Типы данных

Float64

# outputfreq — frequency values that match the input frequencies

+ vector

Details

Frequency values that match the input frequencies inputfreq, returned as a real vector of positive values.

Типы данных

Float64