How to manipulate MATRIX size

2 次查看(过去 30 天)
olodyusuf
olodyusuf 2020-5-17
评论: andrea 2020-5-17
I have a 31 x 90 matrix, I want to add a zeros element all through to make it a 31 x 104. How can I achieve this?

回答(1 个)

madhan ravi
madhan ravi 2020-5-17
[Matrix,zeros(31,104-90)]
  2 个评论
olodyusuf
olodyusuf 2020-5-17
How can I subtract a certain number, say 10 all through the row and column from 90 - 104?.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by