I want a matrix to be represented in the form of an array
Afficher commentaires plus anciens
I want a image matrix 512x512 to be represented in the array form or simply in a straight line while scanning the matrix in inverse S way. I have attached an image to make it clear
Réponse acceptée
Plus de réponses (1)
David Barry
le 22 Déc 2016
a = rand(512, 512);
a = a(:);
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
