fshift
Shifts the elements of an array by a (possibly non-integer) given number of elements.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Francois Bouffard (2026). fshift (https://www.mathworks.com/matlabcentral/fileexchange/7886-fshift), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.31.0 (1.53 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.31.0 | Simpler code that accomplishes the same for even-length inputs. |
||
| 1.3.0 | Fixed a bug with even-length complex inputs. Thanks to Ahmed Fasih for pointing out the problem. |
||
| 1.2.0 | Updated the author information in the file. |
||
| 1.1.0 | Bugfix: changed conjugate transpose for simple transpose, which fixes the shift direction reversal (e.g. with respect to Matlab's CIRCSHIFT). Thanks to Kamil Wojcicki for pointing out the problem. |
||
| 1.0.0 | Bug fix: results for vectors with an even length were slightly off for non-integer shifts. Sorry for the inaccuracies that this could have caused. |