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

4 次查看(过去 30 天)
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 个评论
Stephen23
Stephen23 2017-6-23
  • title: "...how do I multiply all elements..."
  • text: "...this matrix to be divided by two..."
So which do you want: multiplication or division?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by