- title: "...how do I multiply all elements..."
- text: "...this matrix to be divided by two..."
Simple question... how do I multiply all elements of a matrix by 2?
1 view (last 30 days)
Show older comments
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 Comment
Stephen23
on 23 Jun 2017
So which do you want: multiplication or division?
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!