figure an matrix by image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hellow, i have reconstruct an image of 16x16 pixels and all the pixels are in a vector of 256 elements P(256) , is it necessary to change P to a dimension P(16,16) to show it in an image. I thought it would but i tried it and it gives a error. Hope for a positive answer :)
0 commentaires
Réponse acceptée
Walter Roberson
le 9 Mai 2011
image(reshape(P,16,16))
What error are you getting?
10 commentaires
Walter Roberson
le 22 Mai 2011
Note that 512 does not have an integer square root. Fiboehh, what do you want to have happen if 512 is selected?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!