Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by