fcolshift - fractional column circular shift

Function to perform fractional circular shift for each column of a matrix X by different amounts specified by a vector s.

Ahora está siguiendo esta publicación

FCOLSHIFT Fractional circular shift over the column dimension by a vector s.
y = fcolshift(X, S) where X is a 2D matrix of M rows x N columns. S is a vector of length N. The function will circular shift the i-th column of the matrix X by an amount that is equal to s[i] pixels.

Expanded from the first implementation of fshift by Francois Bouffard at https://www.mathworks.com/matlabcentral/fileexchange/7886-fshift

Examples:
X = [ 1 2 3; 4 5 6; 7 8 9]; % Input matrix
S = [1 -2 0] % Amount of shift to perform.
Y = 7 8 3
1 2 6
4 5 9
Based on the first implementation of fshift by Francois Bouffard.
Author: Tan H. Nguyen - Massachusetts Institute of technology.
Please report bugs to thnguyn@mit.edu

Citar como

Tan Nguyen (2026). fcolshift - fractional column circular shift (https://la.mathworks.com/matlabcentral/fileexchange/73424-fcolshift-fractional-column-circular-shift), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0