I am trying to make a program to get this numbers
0 1 0 0 0.8 0.20 0.6 0.40 0.4 0.60 0.2 0.80 0 10.1 0.9 00.1 0.7 0.20.1 0.5 0.40.1 0.3 0.60.1 0.1 0.80.1 0 0.9
and so on but I cant make the program to reduce the values of the second and third column when the first column increases.
This is my code.
Thanks
lai=0:0.1:1;laj=1:-0.2:0;lat=0:0.2:1; for i=1,length(lai) for j=1,i for t=1,j j lam1(1,:)=lai; lam2(1,:)=laj; lam3(1,:)=lat; end endend
Best Answer