Learn R Programming

SynchWave (version 1.1.2)

ifftshift: Inverse FFT Shift

Description

This function exchanges the left halves of a vector with the right halves.

Usage

ifftshift(x)

Arguments

x

a vector

Value

shifted vector

Details

This function exchanges the left halves of a vector with the right halves. This function is adapted from Matlab.

See Also

fftshift.

Examples

Run this code
# NOT RUN {
x <- 1:4
fftshift(fftshift(x))
ifftshift(fftshift(x))

x <- 1:5
fftshift(fftshift(x))
ifftshift(fftshift(x))
# }

Run the code above in your browser using DataLab