unmask([1 0 1 0 1 0], (1:3)') unmask([1 0 1 0 1 0 1 0]', magic(4), 0)
Mehul Gajwani, Monash University, 2024