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

조회 수: 1 (최근 30일)
ampaul
ampaul 2017년 6월 23일
댓글: Stephen23 2017년 6월 23일
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에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by