ZigZag Scan any N*N Matrix (bloc of image)

Versión 2.0 (1,76 KB) por Said BOUREZG
ZigZagscan.m Transform an matrix to a vector using Zig Zag Scan.
919 descargas
Actualizado 1 may 2017

Ver licencia

ZigZagscan Transform an matrix to a vector using Zig Zag Scan.
%
% VECT = ZIGZAGSCAN(MATRIX) reorganize the input Matrix and output it as a vector.
%
% Example:
% X=[1 2 3
% 4 5 6
% 7 8 9]
%
% X =
% 1 2 3
% 4 5 6
% 7 8 9
%
% ZigZagscan(X)=
% 1 2 4 7 5 3 6 8 9

Citar como

Said BOUREZG (2024). ZigZag Scan any N*N Matrix (bloc of image) (https://www.mathworks.com/matlabcentral/fileexchange/56332-zigzag-scan-any-n-n-matrix-bloc-of-image), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
2.0

For more description