for beta = 0.2:0.1:1
betas = [0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1];
cs = [80000 400 40 12 5 3 2 1 1];
index = find(betas==beta,1);
c = cs(index); end
Why this find index doesn't work? Ideally c should take every value in cs