Info

This question is closed. Reopen it to edit or answer.

how to take in array last two unit of time (minute,seconds)

1 view (last 30 days)
for i=1:4
for i=1:10
format shortg
t=clock;
t1=t([5,6]);
t2(i)=t1
end
end
this upper code does not show the value in t2 array ,I wish to store the value t1 in t2 array every iteration i for comparison .
plz suggest me

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!