Problem 45405. ZigZag - 05

Given a matrix, print all its elements in the alpha form. For example -

 a=[16     2     3    13
     5    11    10     8
     9     7     6    12
     4    14    15     1]
output =[13    10     7     4     9     5    16    11     6     1]

Solution Stats

40.32% Correct | 59.68% Incorrect
Last Solution submitted on Jan 22, 2026

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers20

Suggested Problems

More from this Author174

Community Treasure Hunt

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

Start Hunting!