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?

Réponses (1)

madhan ravi
madhan ravi le 17 Mai 2020

0 votes

[Matrix,zeros(31,104-90)]

2 commentaires

olodyusuf
olodyusuf le 17 Mai 2020
How can I subtract a certain number, say 10 all through the row and column from 90 - 104?.
andrea
andrea le 17 Mai 2020
Matrix(:, 90:104)-10

Connectez-vous pour commenter.

Catégories

Produits

Question posée :

le 17 Mai 2020

Commenté :

le 17 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by