replace column

1 visualización (últimos 30 días)
Gova ReDDy
Gova ReDDy el 21 de Mayo de 2011
How to replace a column with ones in a image containing rows and coulumns with zeros.

Respuesta aceptada

Matt Fig
Matt Fig el 21 de Mayo de 2011
% 2D example:
A = zeros(5)
A(:,3) = 1
% 3D example:
A = zeros(3,3,3)
A(:,2,:) = 1
  1 comentario
Gova ReDDy
Gova ReDDy el 21 de Mayo de 2011
danx...and how to apply % gaussmf % for each column or each row havin the no. of rows and columns as
x=zeros(50,1600);
x(24,:)=1;

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by