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 Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

질문:

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