File Exchange

image thumbnail

Zigzag scanning of a matrix

version 1.1.0.0 (587 Bytes) by Ketul Shah
For Jpeg algorithm

3 Downloads

Updated 25 Mar 2014

View Version History

View License

As you in the jpeg algorithm after the quantization and the rounding operations there are so many zeros in the matrix. Usually in this algorithm we do the zigzag scanning algorithm. So in this file I have implemented the zigzag scanning algorithm on one test matrix by using generalized formats.so on any kind of the matrix this program can work.So please comment if any doubt. Fell free to ask,

Cite As

Ketul Shah (2021). Zigzag scanning of a matrix (https://www.mathworks.com/matlabcentral/fileexchange/46029-zigzag-scanning-of-a-matrix), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

daniel grant

Thank you, It works well but It's not time efficient.
It's good for small matrices but for large images It takes so much time.
for example for an 256*256 image It took 21 seconds!!!

Kim JangHyun

Thank You!

It works well !!

saransh shah

saransh shah

feras almasri

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!