use logical index in calker_create_basic_exp.m