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

1 visualización (últimos 30 días)
mxie888
mxie888 el 10 de Oct. de 2017
Respondida: Eric el 9 de Nov. de 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 comentario
KSSV
KSSV el 10 de Oct. de 2017
YOur question is not clear....why don't you show the expected output of the given matrix.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by