multiplay colum of matrix

1 vue (au cours des 30 derniers jours)
Lior Genfon
Lior Genfon le 28 Mar 2020
Modifié(e) : Adam Danz le 31 Mar 2020
say i have matrix
a=[1,2,3;4,5,6;7,8,9]
i whant to get a vector that will be the multipal of every colum
the answer here [35;80;162]
how can i do this
  1 commentaire
Adam Danz
Adam Danz le 28 Mar 2020
The correct product would be [28 80 162] if you're multiplying by column.

Connectez-vous pour commenter.

Réponses (1)

Adam Danz
Adam Danz le 28 Mar 2020
Modifié(e) : Adam Danz le 31 Mar 2020

Catégories

En savoir plus sur Shifting and Sorting Matrices 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!

Translated by