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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Stephen23
Stephen23 il 23 Giu 2017
  • title: "...how do I multiply all elements..."
  • text: "...this matrix to be divided by two..."
So which do you want: multiplication or division?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by