HyperMath

Fold

Fold

Previous topic Next topic No expanding text in this topic  

Fold

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

Magnitude folding functions.

Syntax

y = Fold(vec)

Argument

Name

Description

 

vec

A vector.

Output

Name

Description

 

y

A vector of length half of vec. The first element is the same as the first element in vec.  All other elements are twice the value of the corresponding elements in vec.

Example

Given a vector data of a real part of a time-domain signal, a vector is created which is the folded (one-sided) frequency spectrum of data.

 

Syntax

 

y = Fold(FftMag(data))

 

Result

 

y is a vector of the length half that of the data.

Comments

Fold should only be used with magnitude functions.

See Also:

BlockFftMag

BlockFrfMag

DftMag

FftMag