How do I add cell (or double) columns together to form a new cell or vector?

1 vue (au cours des 30 derniers jours)
mxie888
mxie888 le 10 Oct 2017
Réponse apportée : Eric le 9 Nov 2017
I am looking to index the number of occurrences of a substring that iterates several times in a nested for loop. It would be great if i could basically add from left to right in the image i provided, to get a single scoring column.
Thanks in advance.
  1 commentaire
KSSV
KSSV le 10 Oct 2017
YOur question is not clear....why don't you show the expected output of the given matrix.

Connectez-vous pour commenter.

Réponses (1)

Eric
Eric le 9 Nov 2017
Is this what you're looking for?
sum(A,2)

Catégories

En savoir plus sur Get Started with MATLAB 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