how to to do some kind of SUMIF (Excel) by using a loop.

2 visualizaciones (últimos 30 días)
alex monjambo
alex monjambo el 24 de Sept. de 2014
Respondida: the cyclist el 24 de Sept. de 2014
Hi all,
I would like to sum some dummy variables if they correspond to a specific value in another column on the same row.
here is an example :
etc...
Once i get the proportion of Dummy that are equal to 1 every year and plot it.
Do you have any idea how to do that by using a loop ?
Thanks !

Respuestas (1)

the cyclist
the cyclist el 24 de Sept. de 2014
Isn't this exactly what you asked in this previous question, which I answered?

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by