I know this must be simple but I am struggling. I have a vector of values t = [0, 0.12, 0.3, 2], and I would like to get a date vector where the first element is a given date (1/3/2020 say) and the other three elements are dates where t gives the number of weeks from the initial date. E.g. the fourth element is 2 weeks after 1/3/2020 i.e. 15/3/2020). Somehow I cannot find a way of doing this. Thanks!

# MATLAB: Convert vector of weeks to dates

datedouble to timetime

###### Related Question

- Plot a vector that contain dates in concatenated number format and plot it using dates
- Inconsistent Dates in Time Series
- Datetime problem of converting string
- Converting a time field in a table to a usable format
- How to disable a whole range of dates in “uidatepicker”
- How to use datestr
- How to define a new variable in a table
- Processing a HUGE number of timestamps

## Best Answer