[src]

signal.fft(input)

1D FFT Takes Real inputs (1D tensor of N points) or complex inputs 2D tensor of (Nx2) size for N points

Output matches with matlab output

[src]

signal.ifft(input)

inverse 1D FFT Takes Real inputs (1D tensor of N points) or complex inputs 2D tensor of (Nx2) size for N points

Output matches with matlab output

[src]

signal.rfft(input)

real to complex dft. This function retains only the positive frequencies. Input is a 1D real tensor Output is 2D complex tensor of size (input:size(1)/2 + 1, 2)

[src]

signal.irfft(input)

complex to real dft. This function is the exact inverse of signal.rfft

[src]

signal.fft2(input)

2D FFT Takes Real inputs (2D tensor of NxM points) or complex inputs 3D tensor of (NxMx2) size for NxM points

Output matches with matlab output

[src]

signal.ifft2(input)

2D Inverse FFT Takes Real inputs (2D tensor of NxM points) or complex inputs 3D tensor of (NxMx2) size for NxM points

Output matches with matlab output

[src]

signal.fft3(input)

3D FFT Takes Real inputs (3D tensor of NxMxP points) or complex inputs 4D tensor of (NxMxPx2) size for NxMxP points

Output matches with matlab output

[src]

signal.ifft3(input)

3D Inverse FFT Takes Real inputs (3D tensor of NxMxP points) or complex inputs 4D tensor of (NxMxPx2) size for NxMxP points

Output matches with matlab output

[src]

signal.hann(L, flag)

returns an L-point Hann window in a 1D tensor. L must be a positive integer. When 'periodic' is specified, hann computes a length L+1 window and returns the first L points. flag: 'periodic' or 'symmetric'. 'symmetric' is default

Output matches with matlab output

[src]

signal.blackman(N, flag)

returns an N-point Blackman window in a 1D tensor. N must be a positive integer. When 'periodic' is specified, computes a length N+1 window and returns the first N points. flag: 'periodic' or 'symmetric'. 'symmetric' is default

Output matches with matlab output

[src]

signal.blackmanharris(N, flag)

returns an N-point minimum 4-term Blackman-Harris window in a 1D tensor. The window is minimum in the sense that its maximum sidelobes are minimized. N must be a positive integer.
flag: 'periodic' or 'symmetric'. 'symmetric' is default

Output matches with matlab output

[src]

signal.stft(input, window_size, window_stride, window_type)

1D complex short-time fourier transforms Run a window across your signal and calculate fourier transforms on that window. To make sure that the windows are not discontinuous at the edges, you can optionally apply a window preprocessor. The available window preprocessors are: hamming, hann, bartlett

[src]

signal.rstft(input, window_size, window_stride, window_type)

1D real short-time fourier transforms Run a window across your signal and calculate fourier transforms on that window. To make sure that the windows are not discontinuous at the edges, you can optionally apply a window preprocessor. rfft is used for fourier transform, so only the positive frequencies are retained The available window preprocessors are: hamming, hann, bartlett

[src]

signal.spectrogram(inp, window_size, window_stride)

Takes the rstft(x) and generates a pretty spectrogram by taking the magnitude of the stft, and applying a (natural log * 10) Also transposes the output, to have time on the X axis.

[src]

signal.unwrap(a, tol)

Correct phase angles to produce smoother phase plots
Unwrap radian phases by adding multiples of 2*pi as appropriate to remove jumps greater than tol. tol defaults to pi.

Output matches with matlab output

[src]

signal.rcunwrap(x)

unwraps the phase and removes phase corresponding to integer lag.

Output matches with matlab output

[src]

signal.rcwrap(y, nd)

Adds phase corresponding to integer lag

Output matches with matlab output

[src]

signal.cceps(x)

1D Complex cepstral analysis Returns the cepstrum and a phase shift factor "nd" that is useful to invert the signal back.

Output matches with matlab output

[src]

signal.icceps(xhat,nd)

1D Inverse Complex cepstral analysis. Takes in the outputs of cceps to produce the input signal back

Output matches with matlab output

[src]

signal.rceps(x)

Real cepstrum and minimum phase reconstruction The real cepstrum is the inverse Fourier transform of the real logarithm of the magnitude of the Fourier transform of a sequence.

Output matches with matlab output

[src]

signal.dct(input)

1D Discrete Cosine Transform (DCT) Takes Real inputs (1D tensor of N points)

To see what is exactly computed, see section REDFT10 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.idct(input)

inverse 1D Discrete Cosine Transform (DCT) Takes Real inputs (1D tensor of N points)

To see what is exactly computed, see section REDFT01 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.dct2(input)

2D Discrete Cosine Transform (DCT) Takes Real inputs (2D tensor of NxM points)

To see what is exactly computed, see section REDFT10 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.idct2(input)

inverse 2D Discrete Cosine Transform (DCT) Takes Real inputs (2D tensor of NxM points)

To see what is exactly computed, see section REDFT01 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.dct3(input)

3D Discrete Cosine Transform (DCT) Takes Real inputs (3D tensor of NxMXP points)

To see what is exactly computed, see section REDFT10 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.idct3(input)

inverse 3D Discrete Cosine Transform (DCT) Takes Real inputs (3D tensor of NxMxP points)

To see what is exactly computed, see section REDFT01 over here: http://www.fftw.org/doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html

[src]

signal.hilbert(xr)

Discrete-time analytic signal using Hilbert transform Takes 1D inputs

Output matches with matlab output

Undocumented methods