- 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?
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
2017-6-23
So which do you want: multiplication or division?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!