Zigzag Scan
Version 1.0.0.0 (1.56 KB) by
Alexey Sokolov
Straight and inverse zigzag scan for matrices of any sizes
Straight and inverse zigzag scan for matrices of any sizes.
zigzag(in) takes a matrix as an input and returns a one-dimensional array consisting of a zigzag scan results.
izigzag(in, vmax, hmax) takes a one-dimensional array and converts it back to (vmax x hmax) matrix.
Cite As
Alexey Sokolov (2026). Zigzag Scan (https://www.mathworks.com/matlabcentral/fileexchange/15317-zigzag-scan), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | ! |
