ifftshift1D#

Perform a 1D inverse by shifting a zero-frequency-shifted version back to the original

template<typename T1>
auto matx::ifftshift1D(T1 t)#

Perform an IFFTShift operation on the last dimension of a tensor

Shifts the new indexing of the tensor’s last dimension to begin at Size()/2. MatX FFTs leave the sample order starting with DC, positive frequencies, then negative frequencies last. IFFTShift gives a shifted view of a signal where the new order is negative frequencies, DC, then positive frequencies. Note that ifftshift is the same as fftshift if the length of the signal is even.

Template Parameters:

T1 – Type of View/Op

Parameters:

t – View/Op to shift

Examples#