HyperMath

SAEFilter

SAEFilter

Previous topic Next topic No expanding text in this topic  

SAEFilter

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

SAE class of filters.  There are two forms.

Syntax

Output = SAEFilter(Indep, Dep, Class, Length)

Output = SAEFilter(Dep, Samplerate, Class, Length)

Arguments

Name

Description

 

Indep

A row vector of independent data.

 

Dep

A row vector of dependent (response) data.

 

Samplerate

The sample rate in Hz. A positive scalar.

 

Class

The SAE class of the filter (typically 60, 180, 600, or 1000). Must be a positive scalar.

 

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 is rounded up (zero padding the input) if necessary to obtain a power of 2.

Output

Name

Description

 

Output

A row vector obtained by filtering the source data by the defined SAE class. It has the same length as the input vectors unless the argument Length is specified.

Example

Given two vectors of independent and dependent data vec1 and vec2 respectively, a vector is created by filtering the source data by an SAE class 60 filter.

 

Syntax

 

y = SAEFilter(vec1,vec2,60)

 

Result

 

y is a vector of the filtered data.

Comments

Indep and Dep must be vectors with the same number of elements.

If the sampling frequency is less than 3.3 * class, the curve is unfiltered.

For more information about the SAE Filter, see "Digital and Analog Filters for Processing Impact Test Data", SAE Technical Paper Series 810813, Passenger Car Meeting, Dearborn, Michigan, June 8-12, 1981.

See Also:

Filter

FiltFilt