How to manipulate MATRIX size

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 日

0 投票

[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?.
andrea
andrea 2020 年 5 月 17 日
Matrix(:, 90:104)-10

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品

質問済み:

2020 年 5 月 17 日

コメント済み:

2020 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by