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

4 views (last 30 days)
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 !

Answers (1)

the cyclist
the cyclist on 24 Sep 2014
Isn't this exactly what you asked in this previous question, which I answered?

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!