Simple question... how do I multiply all elements of a matrix by 2?

1 visualización (últimos 30 días)
ampaul
ampaul el 23 de Jun. de 2017
Comentada: Stephen23 el 23 de Jun. de 2017
Hi, I have a 5*5 matrix. I would like all elements in this matrix to be divided by two..can someone please remind me how this is possible?
  1 comentario
Stephen23
Stephen23 el 23 de Jun. de 2017
  • title: "...how do I multiply all elements..."
  • text: "...this matrix to be divided by two..."
So which do you want: multiplication or division?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Matrix Indexing 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