Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- conn = yahoo('http://download.finance.yahoo.com');
- IBM = fetch(conn,{'IBM'},{'Adj Close'}, '2012-01-01','2015-08-01','d');
- MO = fetch(conn,{'MO'},{'Adj Close'}, '2012-01-01','2015-08-01','d');
- %IBM = [datestr(IBM(:,1),2) IBM(:,2)]
- %MO = [datestr(MO(:,1),2) MO(:,2)]
- IBM = cellstr([datestr(IBM(:,1),2)])
- MO = cellstr([datestr(MO(:,1),2)])
- IBM = {cellstr([datestr(IBM(:,1),2)]) IBM(:,2)}
- MO = {cellstr([datestr(MO(:,1),2)]) MO(:,2)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement