dataset join between date range
2 次查看(过去 30 天)
显示 更早的评论
I know how to do this in SQL but I can't think of the best way to accomplish it in matlab. I need to do is repeat the value for every day in the date range. This will create a daily time series for each record with one date field. In SQL you can just use a join between, but I don't see that feature in the MATLAB join. Thanks for your help.
sample data
ds=dataset({[731965;731994;732023] ,'start_date'},{[731995;732024;732057] ,'end_date'},{[10;15;75] ,'value'})
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!