Shift matrix
버전 1.1.0.0 (13.2 KB) 작성자:
Shalin Mehta
Fast and convenient function for shifting a matrix in 2D.
The code uses array indexing to implement shifting of the matrix. It is about 2.5 times faster than using interp2 with 'nearest neighbor' option for shifting of the matrices. Inspiration for optimized array indexing comes from a snippet on circular shift in: "MATLAB array manipulations tips and tricks" guide by Peter J. Acklam (http://home.online.no/~pjacklam).
인용 양식
Shalin Mehta (2026). Shift matrix (https://kr.mathworks.com/matlabcentral/fileexchange/31840-shift-matrix), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
