Matlab - Exercise 9

Trace this to figure out what the result will be, and then type it into MATLAB to verify the results.

count = 0;
number = 8;
while number > 3
    fprintf('number is %d\n', number)
    number = number - 2;
    count = count + 1;
end
fprintf('count is %d\n', count)


For more details, please contact me here.