Im trying to get the following code to work. but every time the value of x goes below 0.6 even though it an if condition is set to prevent it..can someone help
x=0.8;for n=1:10 if (x>0.6) x=x-0.1; end xend
decimalfloating pointless than operator
x=0.8;for n=1:10 if (x>0.6) x=x-0.1; end xend
Best Answer