replace column
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to replace a column with ones in a image containing rows and coulumns with zeros.
0 commentaires
Réponse acceptée
Matt Fig
le 21 Mai 2011
% 2D example:
A = zeros(5)
A(:,3) = 1
% 3D example:
A = zeros(3,3,3)
A(:,2,:) = 1
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!