Im trying to make a countdown timer for my MATLAB class using the tic and toc functions.
so far this is what I have:
function lab4program1
disp('Welcome to the countdown timer program');
done = false;
tic();
while ~done
time = input('Enter a time (seconds) or negative number to...