replace column
6 ビュー (過去 30 日間)
古いコメントを表示
How to replace a column with ones in a image containing rows and coulumns with zeros.
0 件のコメント
採用された回答
Matt Fig
2011 年 5 月 21 日
% 2D example:
A = zeros(5)
A(:,3) = 1
% 3D example:
A = zeros(3,3,3)
A(:,2,:) = 1
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!