I have a problem with this while on Octave:
while(k<=1.0)
imshow(cv*k+id*(1-k));
disp(k);
k=k+0.04;
pause(0.1);
endwhile
And this is the output of the values of k
:
0
0.040000
0.080000
0.12000
0.16000
0.20000
0.24000
0.28000
0.32000
0.36000
0.40000
0.44000
0.48000
0.52000
0.56000
0.60000
0.64000
0.68000
0.72000
0.76000
0.80000
0.84000
0.88000
0.92000
0.96000
Why does k
never reach 1
even if I entered <=
in the while
condition?