Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
6
Task/Draw-a-clock/MATLAB/draw-a-clock.m
Normal file
6
Task/Draw-a-clock/MATLAB/draw-a-clock.m
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
u = [0:360]*pi/180;
|
||||
while(1)
|
||||
s = mod(now*60*24,1)*2*pi;
|
||||
plot([0,sin(s)],[0,cos(s)],'-',sin(u),cos(u),'k-');
|
||||
pause(1);
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue