Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
8
Task/Web-scraping/MATLAB/web-scraping.m
Normal file
8
Task/Web-scraping/MATLAB/web-scraping.m
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
s = urlread('http://tycho.usno.navy.mil/cgi-bin/timer.pl');
|
||||
ix = [findstr(s,'<BR>'), length(s)+1];
|
||||
for k = 2:length(ix)
|
||||
tok = s(ix(k-1)+4:ix(k)-1);
|
||||
if findstr(tok,'UTC')
|
||||
disp(tok);
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue