
p = [0.2,0.2,0.2,0.2,0.2];
Z = {'red';'green'};

for i = 1:length(Z)
  p = sense(p,Z(i))
end
