triangle matrix with different number of columns
Afficher commentaires plus anciens
how to make a triangle matrix, from a matrix example like this
a =
35 1 6 26 19 24
3 32 7 21 23 25
31 9 2 22 27 20
8 28 33 17 10 15
30 5 34 12 14 16
4 36 29 13 18 11
and the matrix that i'm looking for will like this a =
35 1 6 26 19 24
0 32 7 21 23 0
0 0 2 22 0 0
Thanks, Rio
2 commentaires
Azzi Abdelmalek
le 14 Fév 2016
Your result is not a matrix
rio hartanto
le 14 Fév 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!