Adding lines and columns

3 visualizaciones (últimos 30 días)
Jah-lahfui
Jah-lahfui el 7 de En. de 2015
Comentada: Jah-lahfui el 7 de En. de 2015
Hello, i have a matrix W (418*413) in the borders i have zeros, i mean in (1,:), (:,1),(:,413),(418,:) they are equal to zero and on the inside off the matrix i have values. What i need to do is, copy all the valeus from line 2 till line 417 from colummn 3 and put it on colummn 1 in the matrix W.
Thanks in advance

Respuesta aceptada

Amit
Amit el 7 de En. de 2015
W(2:417,1) = W(2:417,3);
  1 comentario
Jah-lahfui
Jah-lahfui el 7 de En. de 2015
Thanks a lot i wasn't seeing the answer and it so damn easy

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by