Padding zeros at the end row of a matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Meg Cullen
le 17 Mai 2019
Réponse apportée : Alex Mcaulley
le 17 Mai 2019
For a matrix A = Nx2, how to pad [0 0] row at the end of the matrix to make the number of rows divisible by a number d?
example: for A = 9x2 and d = 2 adding 1 [0 0] row at end will make it 10x2
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!