Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
SHIFT (A, SHIFTSIZE, PADVAL) is an extension of circshift.m, allowing both integer and fractional shiftsize along all dimensions of A, and a padding different from circular. In the case of integer shiftsize, the algorithm of circshift.m is used which gives the same performance.
SHIFT is especially useful for the shift, including sub-pixel shift, of image data.
The padding methods are the same as in the MATLAB function padarray.m ('circular', 'replicate', 'symmetric'), as well as padding with numeric values (e. g. with 0) or with NaN. The screenshot shows an example of 'replicate' padding.
Citar como
Bernhard (2026). shift.m (https://es.mathworks.com/matlabcentral/fileexchange/46386-shift-m), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.1.0.0 (9,63 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
