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

2 ビュー (過去 30 日間)
alex monjambo
alex monjambo 2014 年 9 月 24 日
回答済み: the cyclist 2014 年 9 月 24 日
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 !

回答 (1 件)

the cyclist
the cyclist 2014 年 9 月 24 日
Isn't this exactly what you asked in this previous question, which I answered?

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by