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

4 Ansichten (letzte 30 Tage)
ampaul
ampaul am 23 Jun. 2017
Kommentiert: Stephen23 am 23 Jun. 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 Kommentar
Stephen23
Stephen23 am 23 Jun. 2017
  • title: "...how do I multiply all elements..."
  • text: "...this matrix to be divided by two..."
So which do you want: multiplication or division?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by