Serving the Quantitative Finance Community

 
User avatar
JTB
Topic Author
Posts: 0
Joined: August 20th, 2010, 9:28 am

Dataset in matlab: adding date

December 22nd, 2013, 5:32 pm

I have a datset in Matlab created by the following code:VarNames = {'Date','Estimate','Actual','Delta'};outputData = dataset([],[],[],[],'VarNames',VarNames);But when trying to add outputData.Date(1) = '2013-12-12 00:00:00' doesn't work.Question: How can I have the first column in a dataset as a column with datestring values?